diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-24 20:13:43 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-24 20:13:43 -0400 |
| commit | 70898430dc45ec3422ab2e05fc46054ba56a1909 (patch) | |
| tree | fdd949846e93f93f3342064f1302a3f427e20495 /src/client/views/DocComponent.tsx | |
| parent | c1a474fd2cf633fa204f1bb6dce2539f4b172d6c (diff) | |
fixed iconifying collections to show image icon. fixed shortcut for using cached template. fixed onClick prop type
Diffstat (limited to 'src/client/views/DocComponent.tsx')
| -rw-r--r-- | src/client/views/DocComponent.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 8f254ddcd..3a868d1f9 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -192,7 +192,9 @@ export function ViewBoxAnnotatableComponent<P extends FieldViewProps>() { * This is the unique data repository for a dcoument that stores the intrinsic document data */ @computed get dataDoc() { - return this._renderDoc.isTemplateForField || this._renderDoc.isTemplateDoc ? (this._props.TemplateDataDocument ?? this._renderDoc[DocData]) : this._props.Document[DocData]; + return this._renderDoc.isTemplateForField || this._renderDoc.isTemplateDoc ? + (this._props.TemplateDataDocument ?? this._renderDoc[DocData]) : + this._props.Document[DocData]; // prettier-ignore } /** |
