diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-02 12:13:13 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-02 12:13:13 -0500 |
commit | ae76fd39a6530ac055948bb7b98537d38b592ef6 (patch) | |
tree | af03ac257a5584f9913f120c44d4d39bb13916f2 /src/client/documents/Documents.ts | |
parent | 77ee66de66a411f79bbbc036d379d09be38d172f (diff) | |
parent | 68f49ef5daf3bf5c47d1d21c8f1cd2097947d071 (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.ts | 2 |
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 }); } } |