aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-30 14:19:03 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-30 14:19:03 -0400
commit71b0e84cb852bc171a5df96b36cbb5f7bd1c150c (patch)
tree033dc881491eb2ba21bd1547c6ad43798a088c4e /src/client/util/RichTextSchema.tsx
parent5f0e4bbbc5ea4013c2d2bf0538ff08c204e022bd (diff)
changed expandedTemplate to rootDocument
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 1c637cfbe..b612c82ae 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -849,7 +849,7 @@ export class DashDocView {
this._renderDisposer?.();
this._renderDisposer = reaction(() => {
if (!Doc.AreProtosEqual(finalLayout, dashDoc)) {
- finalLayout.expandedTemplate = dashDoc.aliasOf;
+ finalLayout.rootDocument = dashDoc.aliasOf;
}
const layoutKey = StrCast(finalLayout.layoutKey);
const finalKey = layoutKey && StrCast(finalLayout[layoutKey]).split("'")?.[1];