diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-03 23:45:34 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-03 23:45:34 -0400 |
| commit | 50552174123eb5622821de5f848e6e70c7346214 (patch) | |
| tree | bd1ac35f5f218964fba4d4b978afa3328a9d1651 /src/client/views/nodes/DocumentBox.tsx | |
| parent | f0f9e3b47be48586acfe3030776efc98bf1d7046 (diff) | |
fixed a bunch of warnings
Diffstat (limited to 'src/client/views/nodes/DocumentBox.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentBox.tsx b/src/client/views/nodes/DocumentBox.tsx index 47118e758..0e2685d41 100644 --- a/src/client/views/nodes/DocumentBox.tsx +++ b/src/client/views/nodes/DocumentBox.tsx @@ -112,7 +112,7 @@ export class DocumentBox extends DocAnnotatableComponent<FieldViewProps, DocBoxS if (containedDoc && childTemplateName && !containedDoc["layout_" + childTemplateName]) { setTimeout(() => { DocumentView.createCustomView(containedDoc, Docs.Create.StackingDocument, childTemplateName); - Doc.expandTemplateLayout(Cast(containedDoc["layout_" + childTemplateName], Doc, null)!, containedDoc, undefined); + Doc.expandTemplateLayout(Cast(containedDoc["layout_" + childTemplateName], Doc, null), containedDoc, undefined); }, 0); } const contents = !(containedDoc instanceof Doc) ? (null) : <ContentFittingDocumentView |
