aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-11-27 12:55:49 -0500
committerbob <bcz@cs.brown.edu>2019-11-27 12:55:49 -0500
commitb9147cee91307242558d3a277601b1357a83f2e6 (patch)
tree648bcc3af5f728b55a9f603c91ec4cddec2ba7d2 /src/client/documents/Documents.ts
parente5ba8e86b4da2af65bde85589baad5a6fae9f627 (diff)
fixing templates & workspace/document sidebar treeviews
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index dea057b93..0befec1da 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -299,7 +299,7 @@ export namespace Docs {
// whatever options pertain to this specific prototype
let options = { title, type, baseProto: true, ...defaultOptions, ...(template.options || {}) };
options.layout = layout.view.LayoutString(layout.dataField);
- return Doc.assign(new Doc(prototypeId, true), { ...options, baseLayout: options.layout });
+ return Doc.assign(new Doc(prototypeId, true), { ...options });
}
}