diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-21 17:25:17 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-21 17:25:17 -0400 |
| commit | 3d629495644631e6b614b1b48f1d32d6c7aeefc6 (patch) | |
| tree | 0efb0edf7f838ae6766ad12c36a0da6639ad6edd /src/client/util/RichTextSchema.tsx | |
| parent | 0bc20bc8c1f2b6b77624d37047d63a31fa0cf299 (diff) | |
added parameterization capability to layout strings. added Div's that can take Dash field values
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
| -rw-r--r-- | src/client/util/RichTextSchema.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 1522f5e21..d23962d5c 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -852,9 +852,9 @@ export class DashDocView { }; this._renderDisposer?.(); this._renderDisposer = reaction(() => { - if (!Doc.AreProtosEqual(finalLayout, dashDoc)) { - finalLayout.rootDocument = dashDoc.aliasOf; // bcz: check on this ... why is it here? - } + // if (!Doc.AreProtosEqual(finalLayout, dashDoc)) { + // finalLayout.rootDocument = dashDoc.aliasOf; // bcz: check on this ... why is it here? + // } const layoutKey = StrCast(finalLayout.layoutKey); const finalKey = layoutKey && StrCast(finalLayout[layoutKey]).split("'")?.[1]; if (finalLayout !== dashDoc && finalKey) { |
