Browse Source

fix: reset saving for early return

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1024/head
Wing-Kam Wong 3 years ago
parent
commit
6f03233b3d
  1. 4
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

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

@ -1049,9 +1049,9 @@ export default {
} else { } else {
this.$toast.error(`Failed to save row : ${e.message}`).goAway(3000) this.$toast.error(`Failed to save row : ${e.message}`).goAway(3000)
} }
} finally {
this.$set(this.data[row], 'saving', false)
} }
this.$set(this.data[row], 'saving', false)
} }
} }
}, },

Loading…
Cancel
Save