Browse Source

fix: disable update call if column undefined

re #1630

Signed-off-by: Mert Ersoy <mertmit99@gmail.com>
pull/1632/head
Mert Ersoy 3 years ago
parent
commit
8749c006f8
  1. 2
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

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

@ -1100,7 +1100,7 @@ export default {
// return // return
// } // }
// return if there is no change // return if there is no change
if (oldRow[column.title] === rowObj[column.title] && ((lastSave || rowObj[column.title]) === rowObj[column.title])) { if (!column || (oldRow[column.title] === rowObj[column.title] && ((lastSave || rowObj[column.title]) === rowObj[column.title]))) {
return return
} }
if (saved) { this.$set(this.data[row], 'lastSave', oldRow[column.title]) } if (saved) { this.$set(this.data[row], 'lastSave', oldRow[column.title]) }

Loading…
Cancel
Save