aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-12-02 12:13:13 -0500
committerSam Wilkins <samwilkins333@gmail.com>2019-12-02 12:13:13 -0500
commitae76fd39a6530ac055948bb7b98537d38b592ef6 (patch)
treeaf03ac257a5584f9913f120c44d4d39bb13916f2 /src/client/documents/Documents.ts
parent77ee66de66a411f79bbbc036d379d09be38d172f (diff)
parent68f49ef5daf3bf5c47d1d21c8f1cd2097947d071 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into server_refactor
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 a2f4d23c7..d1e3ea708 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 });
}
}