From 6cbfb7e3ad87c762653e212c0ea3a0a898d3b145 Mon Sep 17 00:00:00 2001
From: ljungster <parkerljung@gmail.com>
Date: Thu, 14 Apr 2022 10:21:27 -0400
Subject: commiting before refactoring

---
 src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx')

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}
 
-- 
cgit v1.2.3-70-g09d2

