diff options
author | bobzel <zzzman@gmail.com> | 2023-04-11 14:43:54 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-11 14:43:54 -0400 |
commit | 5d1e3710a015d8915bd367ece753817d84d9d916 (patch) | |
tree | 2afe01737254c38dcd9f1959cdb1e479cb49b84a /src/client/views/nodes/DocumentContentsView.tsx | |
parent | 8a1267faf796b2e2a30a6ba9f86879854e9ee983 (diff) |
exracted FollowLinkScript() function. got rid of template parameters to simplify templating.
Diffstat (limited to 'src/client/views/nodes/DocumentContentsView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentContentsView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index 2d12005fb..dbcfe43cf 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -146,7 +146,7 @@ export class DocumentContentsView extends React.Component< (this.props.LayoutTemplateString && this.props.Document) || (this.props.layoutKey && StrCast(this.props.Document[this.props.layoutKey]) && this.props.Document) || Doc.Layout(this.props.Document, this.props.layoutKey ? Cast(this.props.Document[this.props.layoutKey], Doc, null) : undefined); - return Doc.expandTemplateLayout(template, this.props.Document, this.props.layoutKey); + return Doc.expandTemplateLayout(template, this.props.Document); } CreateBindings(onClick: Opt<ScriptField>, onInput: Opt<ScriptField>): JsxBindings { |