Browse Source

fix(gui): remove duplicate lines

setting `changed` value after emitting `save` event will keep the value of `changed` remain as `true` and which will cause unnecessary update api call when switching between views/tables

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4987/head
Pranav C 2 years ago
parent
commit
8c7c8871c9
  1. 1
      packages/nc-gui/components/smartsheet/Cell.vue

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

@ -107,7 +107,6 @@ const vModel = computed({
syncValue()
} else if (!isManualSaved(column.value)) {
emit('save')
currentRow.value.rowMeta.changed = true
}
}
},

Loading…
Cancel
Save