diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-07-16 14:38:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 14:38:34 -0400 |
commit | 98c3a06256d2cbd720b2c193e5aa282c5dc25350 (patch) | |
tree | 5bb7e5a0fa44183bd3824ce94971d2715631a445 /src/client/documents/Documents.ts | |
parent | c6b933c6e89d5f438c434e8676cce9a6a577edbc (diff) | |
parent | 520fbe435330c8e426e2d504585ba1559300eadb (diff) |
Merge branch 'master' into search_virt
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index ada9f3610..5bbfe1c49 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -98,7 +98,7 @@ export namespace Docs { type LayoutSource = { LayoutString: () => string }; type CollectionLayoutSource = { LayoutString: (fieldStr: string, fieldExt?: string) => string }; - type CollectionViewType = [CollectionLayoutSource, string, string?] + type CollectionViewType = [CollectionLayoutSource, string, string?]; type PrototypeTemplate = { layout: { view: LayoutSource, @@ -235,7 +235,7 @@ export namespace Docs { let title = prototypeId.toUpperCase().replace(upper, `_${upper}`); // synthesize the default options, the type and title from computed values and // whatever options pertain to this specific prototype - let options = { title: title, type: type, ...defaultOptions, ...(template.options || {}) }; + let options = { title: title, type: type, baseProto: true, ...defaultOptions, ...(template.options || {}) }; let primary = layout.view.LayoutString(); let collectionView = layout.collectionView; if (collectionView) { |