Browse Source

fix: cell saving

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/1817/head
mertmit 2 years ago
parent
commit
0b6870b71b
  1. 1
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

1
packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

@ -1140,6 +1140,7 @@ export default {
// return if there is no change
if (
!column ||
saving ||
(oldRow[column.title] === rowObj[column.title] &&
(lastSave || rowObj[column.title]) === rowObj[column.title])
) {

2
packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

@ -245,7 +245,7 @@
:is-locked="isLocked"
:is-public="isPublicView"
:view-id="viewId"
@save="editEnabled = {}"
@save="editEnabled = {}; onCellValueChange(col, row, columnObj, true);"
@cancel="editEnabled = {}"
@update="onCellValueChange(col, row, columnObj, false)"
@blur="onCellValueChange(col, row, columnObj, true)"

Loading…
Cancel
Save