diff options
| author | ljungster <parkerljung@gmail.com> | 2022-04-14 10:21:27 -0400 |
|---|---|---|
| committer | ljungster <parkerljung@gmail.com> | 2022-04-14 10:21:27 -0400 |
| commit | 6cbfb7e3ad87c762653e212c0ea3a0a898d3b145 (patch) | |
| tree | 792b2fb3edc3dde33c665df83c32ebdbb28fdafc /src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | |
| parent | 1e044cdb3d9004a42dfce5de83f518e95aebaf40 (diff) | |
commiting before refactoring
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx index 1df5cc504..6bcd397aa 100644 --- a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx @@ -327,9 +327,11 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel <div key={`${this.props.Document[Id]}-addGroup`} className="collectionNoteTakingView-addDocumentButton"> <EditableView {...this.props.editableViewProps} /> </div> - <button className="collectionStackingView-sectionDelete" onClick={this.deleteColumn}> + {this.props.numGroupColumns > 1 && + <button className="collectionStackingView-sectionDelete" onClick={this.deleteColumn}> <FontAwesomeIcon icon="trash" size="lg" /> </button> + } </div> : null} |
