Skip to content

Commit

Permalink
Merge pull request #7260 from nocodb/fix/fill-group-by
Browse files Browse the repository at this point in the history
fix: clear fill handle properly on expanded form close
  • Loading branch information
mertmit committed Dec 19, 2023
2 parents 96e1cae + 854dad6 commit 14a1bd7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/nc-gui/components/smartsheet/grid/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1027,13 +1027,11 @@ eventBus.on(async (event, payload) => {
addColumnDropdown.value = true
}
if (event === SmartsheetStoreEvents.CLEAR_NEW_ROW) {
const removed = removeRowIfNew?.(payload)
clearSelectedRange()
activeCell.row = null
activeCell.col = null
if (removed) {
clearSelectedRange()
activeCell.row = null
activeCell.col = null
}
removeRowIfNew?.(payload)
}
})
Expand Down

0 comments on commit 14a1bd7

Please sign in to comment.