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/nodes/DocumentContentsView.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/nodes/DocumentContentsView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentContentsView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index 47c5734f7..d1eae1784 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -113,7 +113,7 @@ export class DocumentContentsView extends ObservableReactComponent<DocumentConte this._props.LayoutTemplate?.() || (this._props.LayoutTemplateString && this._props.Document) || (this._props.layoutFieldKey && StrCast(this._props.Document[this._props.layoutFieldKey]) && this._props.Document) || - Doc.Layout(this._props.Document, this._props.layoutFieldKey ? Cast(this._props.Document[this._props.layoutFieldKey], Doc, null) : undefined); + Doc.Layout(this._props.Document, DocCast(this._props.Document[this._props.layoutFieldKey])); return Doc.expandTemplateLayout(template, this._props.Document); } |