diff options
author | monikahedman <monika_hedman@brown.edu> | 2019-07-16 14:47:24 -0400 |
---|---|---|
committer | monikahedman <monika_hedman@brown.edu> | 2019-07-16 14:47:24 -0400 |
commit | b49f13d72033ab74bfecea00889fa81c85bfd533 (patch) | |
tree | 286cbfde9864c9a46f9501cd2975fb854a0d6f13 /src/client/documents/Documents.ts | |
parent | 189bb0ffd14fb0b8db0edbe813efe19f143a30fd (diff) | |
parent | 98c3a06256d2cbd720b2c193e5aa282c5dc25350 (diff) |
Merge branch 'search_virt' of https://github.com/browngraphicslab/Dash-Web 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) { |