diff options
| author | kimdahey <claire_kim1@brown.edu> | 2019-07-29 14:56:05 -0400 |
|---|---|---|
| committer | kimdahey <claire_kim1@brown.edu> | 2019-07-29 14:56:05 -0400 |
| commit | 1b672029cdcbd56b312891b5f0d78eaaa8c78b28 (patch) | |
| tree | 4f7331b75498f6c8d7ff31c67d5639a5662559d2 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | a09d610e2a5c09e473b15be23c32f0c3cc370a17 (diff) | |
+ ADD / ADD GROUP does not show if chromeStatus is disabled
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 287c8a461..85aa322a2 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -287,7 +287,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { {this.props.Document.sectionFilter ? Array.from(this.Sections.entries()).sort(this.sortFunc). map(section => this.section(section[0], section[1])) : this.section(undefined, this.filteredChildren)} - {this.props.Document.sectionFilter ? + {(this.props.Document.sectionFilter && this.props.CollectionView.props.Document.chromeStatus !== 'disabled') ? <div key={`${this.props.Document[Id]}-addGroup`} className="collectionStackingView-addGroupButton" style={{ width: (this.columnWidth / (headings.length + 1)) - 10, marginTop: 10 }}> <EditableView {...editableViewProps} /> |
