diff options
author | bobzel <zzzman@gmail.com> | 2024-03-18 10:30:23 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-18 10:30:23 -0400 |
commit | 7d31c773ab85697b8a5eeecc752b567c8235efec (patch) | |
tree | 556bdfed80142029eeb578fcb585890ead2f2abe /src | |
parent | e576f88501da55a1e1abbcbc3260733da94bff8a (diff) |
cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/DocumentContentsView.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index 07e179246..5a326ecb0 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -135,8 +135,6 @@ export class DocumentContentsView extends ObservableReactComponent<DocumentConte } get layoutDoc() { - // bcz: replaced this with below : is it correct? change was made to accommodate passing fieldKey's from a layout script - // const template: Doc = this._props.LayoutTemplate?.() || Doc.Layout(this._props.Document, this._props.fieldKey ? Cast(this._props.Document[this._props.fieldKey], Doc, null) : undefined); const template: Doc = this._props.LayoutTemplate?.() || (this._props.LayoutTemplateString && this._props.Document) || |