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/DocumentDecorations.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/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 19b987cb5..92b4d6fbf 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -635,7 +635,7 @@ export class DocumentDecorations extends ObservableReactComponent<DocumentDecora if (DocumentView.Selected().length === 1) { const selected = DocumentView.Selected()[0]; if (this._titleControlString.startsWith('$')) { - return Field.toJavascriptString(selected._renderDoc[this._titleControlString.substring(1)] as FieldType) || '-unset-'; + return Field.toJavascriptString(selected.Document[this._titleControlString.substring(1)] as FieldType) || '-unset-'; } return this._accumulatedTitle; } |
