diff options
| author | bobzel <zzzman@gmail.com> | 2022-08-22 13:17:41 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-08-22 13:17:41 -0400 |
| commit | 1404b81b7ef679b12a4b99cd5c82da4339a8efaf (patch) | |
| tree | d211573bd8bdae01f31138e3d164ba8e72c98fff /src/client/views/collections/CollectionNoteTakingViewColumn.tsx | |
| parent | 3cf60a6118a5994e43c8ac9d00092992d6c83700 (diff) | |
fixed undo of add/remove column in notetaking view by reordering @action @undoBatch to @undoBatch @action
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewColumn.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionNoteTakingViewColumn.tsx | 2 |
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) { |
