diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-01-21 00:11:41 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-01-21 00:11:41 -0500 |
commit | 69e068d77731c25d9f1dbafb8c7d279e343a4e55 (patch) | |
tree | 4df35c6233f9440d676e0b7e4758f113e4b10cfc /src/client/views/nodes/DocumentView.tsx | |
parent | d528b9d19a685d8447a9d54715dc94cd66034852 (diff) |
fixed up creating template fields in stacking views (+ after the template is made)
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 63bb6b18c..e91013be4 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -659,7 +659,8 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu @undoBatch @action - setCustomView = (custom: boolean): void => { + setCustomView = + (custom: boolean): void => { if (this.props.ContainingCollectionView?.props.DataDoc || this.props.ContainingCollectionView?.props.Document.isTemplateDoc) { Doc.MakeMetadataFieldTemplate(this.props.Document, this.props.ContainingCollectionView.props.Document); } else { |