diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-13 17:10:16 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-13 17:10:16 -0400 |
| commit | bf057a899766527b11094d93503d4a94981bd301 (patch) | |
| tree | 6b0d31a2cf5778993cf9e6713e5f50ef992446a0 /src/client/views/collections/CollectionStackingViewFieldColumn.tsx | |
| parent | 79f71332082f569fa4af03c3b53c029e81a8e4a6 (diff) | |
fixed import to use _chromeStatus and fixed drag behavior not to make a delegate.
Diffstat (limited to 'src/client/views/collections/CollectionStackingViewFieldColumn.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingViewFieldColumn.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx index cbfb1c36f..f193a9787 100644 --- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx @@ -367,7 +367,7 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC {this.props.parent.children(this.props.docList, uniqueHeadings.length)} {singleColumn ? (null) : this.props.parent.columnDragger} </div> - {(chromeStatus !== 'view-mode' && chromeStatus !== 'disabled' && type !== DocumentType.PRES && this.props.parent.props.Document.showNewButton !== false) ? + {(chromeStatus !== 'view-mode' && chromeStatus !== 'disabled' && type !== DocumentType.PRES) ? <div key={`${heading}-add-document`} className="collectionStackingView-addDocumentButton" style={{ width: style.columnWidth / style.numGroupColumns, marginBottom: 70 }}> <EditableView {...newEditableViewProps} menuCallback={this.menuCallback} /> |
