diff options
author | bobzel <zzzman@gmail.com> | 2025-03-26 16:36:15 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-26 16:36:15 -0400 |
commit | a3eab5f2b8eca6ff7a21ea9d043b90c953c35f03 (patch) | |
tree | d708391fe97f8c0d17458abd51c2ee42c180e6cc /src/client/views/nodes/DocumentView.tsx | |
parent | bddf2c741860eb39499faa1969054bcf1b63245e (diff) |
fix so that views use don't use the rootDocument, but rather the current rendering document. got rid of resolvedDataDoc -- just use rootDocument[DocData]
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 3268ba0f7..4ea2c66f3 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -758,7 +758,7 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document }}> <DocumentContentsView {...this._props} - layoutFieldKey={StrCast(this._renderDoc.layout_fieldKey, 'layout')} + layoutFieldKey={StrCast(this.Document.layout_fieldKey, 'layout')} pointerEvents={this.contentPointerEvents} setContentViewBox={this.setContentView} childFilters={this.childFilters} |