Browse Source

feat: save new row on enter even if it is empty

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4025/head
mertmit 2 years ago
parent
commit
d0848b8fb9
  1. 2
      packages/nc-gui/components/smartsheet/Cell.vue

2
packages/nc-gui/components/smartsheet/Cell.vue

@ -126,7 +126,7 @@ const {
const syncAndNavigate = (dir: NavigateDir, e: KeyboardEvent) => {
if (isJSON.value) return
if (currentRow.value.rowMeta.changed) {
if (currentRow.value.rowMeta.changed || currentRow.value.rowMeta.new) {
emit('save')
currentRow.value.rowMeta.changed = false
}

Loading…
Cancel
Save