aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingViewColumn.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-08-22 15:53:08 -0400
committerljungster <parkerljung@gmail.com>2022-08-22 15:53:08 -0400
commit7f4f2840cd64c1eb40851c2ee410fa1905288b73 (patch)
tree1c7490b5d535b4c1c3ca14d3ba75cdb9a8c81b11 /src/client/views/collections/CollectionNoteTakingViewColumn.tsx
parent3cf60a6118a5994e43c8ac9d00092992d6c83700 (diff)
c
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewColumn.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingViewColumn.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingViewColumn.tsx b/src/client/views/collections/CollectionNoteTakingViewColumn.tsx
index e619b084b..4610da4e3 100644
--- a/src/client/views/collections/CollectionNoteTakingViewColumn.tsx
+++ b/src/client/views/collections/CollectionNoteTakingViewColumn.tsx
@@ -145,8 +145,8 @@ export class CollectionNoteTakingViewColumn extends React.Component<CSVFieldColu
// deleteColumn is called when a user deletes a column using the 'trash' icon in the button area.
// If the user deletes the first column, the documents get moved to the second column. Otherwise,
// all docs are added to the column directly to the left.
- @action
@undoBatch
+ @action
deleteColumn = () => {
const columnHeaders = Cast(this.props.Document.columnHeaders, listSpec(SchemaHeaderField), null);
if (columnHeaders && this.props.headingObject) {