aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-04-14 10:21:27 -0400
committerljungster <parkerljung@gmail.com>2022-04-14 10:21:27 -0400
commit6cbfb7e3ad87c762653e212c0ea3a0a898d3b145 (patch)
tree792b2fb3edc3dde33c665df83c32ebdbb28fdafc /src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx
parent1e044cdb3d9004a42dfce5de83f518e95aebaf40 (diff)
commiting before refactoring
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx4
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}