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/formattedText/DashDocView.tsx | |
parent | 8a1267faf796b2e2a30a6ba9f86879854e9ee983 (diff) |
exracted FollowLinkScript() function. got rid of template parameters to simplify templating.
Diffstat (limited to 'src/client/views/nodes/formattedText/DashDocView.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/DashDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/DashDocView.tsx b/src/client/views/nodes/formattedText/DashDocView.tsx index 61345f891..c00ab6a7e 100644 --- a/src/client/views/nodes/formattedText/DashDocView.tsx +++ b/src/client/views/nodes/formattedText/DashDocView.tsx @@ -77,7 +77,7 @@ export class DashDocViewInternal extends React.Component<IDashDocViewInternal> { updateDoc = action((dashDoc: Doc) => { this._dashDoc = dashDoc; - this._finalLayout = this.props.docId ? dashDoc : Doc.expandTemplateLayout(Doc.Layout(dashDoc), dashDoc, this.props.fieldKey); + this._finalLayout = this.props.docId ? dashDoc : Doc.expandTemplateLayout(Doc.Layout(dashDoc), dashDoc); if (this._finalLayout) { if (!Doc.AreProtosEqual(this._finalLayout, dashDoc)) { |