Browse Source

fix: clear fill handle properly on expanded form close

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/7260/head
mertmit 11 months ago
parent
commit
854dad6d14
  1. 6
      packages/nc-gui/components/smartsheet/grid/Table.vue

6
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1027,13 +1027,11 @@ eventBus.on(async (event, payload) => {
addColumnDropdown.value = true addColumnDropdown.value = true
} }
if (event === SmartsheetStoreEvents.CLEAR_NEW_ROW) { if (event === SmartsheetStoreEvents.CLEAR_NEW_ROW) {
const removed = removeRowIfNew?.(payload)
if (removed) {
clearSelectedRange() clearSelectedRange()
activeCell.row = null activeCell.row = null
activeCell.col = null activeCell.col = null
}
removeRowIfNew?.(payload)
} }
}) })

Loading…
Cancel
Save