diff options
| author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-29 18:59:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-29 18:59:22 +0000 |
| commit | 1476b04c1549399727fc207e7b6ffce83f7715b3 (patch) | |
| tree | 69961bd5438b6638966517ee83eb1ec8c4edf8db /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 93df48fe22f4152878e3a74e0366668fbbab895e (diff) | |
| parent | 1b672029cdcbd56b312891b5f0d78eaaa8c78b28 (diff) | |
Merge pull request #227 from browngraphicslab/toggle_claire
+ 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} /> |
