Browse Source

Merge pull request #1817 from mertmit/fix-cell-save

fix: cell saving
pull/1825/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
1a0146c98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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