diff options
author | bob <bcz@cs.brown.edu> | 2020-02-04 18:30:52 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-04 18:30:52 -0500 |
commit | 6f43b2643b117748c6b9896f40b581eeec1ffe06 (patch) | |
tree | 7caa24fe0673fb828d01fd2c05361a195d9e7fea /src/client/views/nodes/DocumentView.tsx | |
parent | e217d9a24a7f6c52eb76331d37d32a27b999fb79 (diff) |
small tweaks to templates...
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 09bf06e1b..d768dd7cf 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -665,7 +665,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu } }) DocumentView. - makeCustomViewClicked(this.props.Document, this.props.DataDoc, Docs.Create.StackingDocument, layout, foundLayout); + makeCustomViewClicked(this.props.Document, this.props.DataDoc, Docs.Create.StackingDocument, layout, foundLayout && Doc.MakeDelegate(foundLayout)); } else { DocumentView.makeNativeViewClicked(this.props.Document, StrCast(this.props.Document.layoutKey).split("_")[1]); } |