diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-05 22:36:02 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-05 22:36:02 -0400 |
| commit | 8b67afc6972cf81b306dea93a7ae87ef8d40d3eb (patch) | |
| tree | 00756080a14574bbcbd30562d8567197e7c999f6 /src/client/views/collections/CollectionMenu.tsx | |
| parent | 1a9750cb8c2102cf425137f47f08fb6f85cbdfa2 (diff) | |
fixed warnings
Diffstat (limited to 'src/client/views/collections/CollectionMenu.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index 9ae72ba53..904592975 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -235,6 +235,7 @@ export class CollectionViewBaseChrome extends React.Component<CollectionMenuProp @computed get subChrome() { switch (this.props.type) { default: return this.otherSubChrome; + case CollectionViewType.Invalid: case CollectionViewType.Freeform: return (<CollectionFreeFormViewChrome key="collchrome" {...this.props} isOverlay={this.props.type === CollectionViewType.Invalid} />); case CollectionViewType.Stacking: return (<CollectionStackingViewChrome key="collchrome" {...this.props} />); case CollectionViewType.Schema: return (<CollectionSchemaViewChrome key="collchrome" {...this.props} />); |
