Browse Source

feat(gui): enable autosave

newly created row will have the same behaviour of existing row

re #260 #261

Signed-off-by: Pranav C Balan <pranavxc@gmail.com>
pull/269/head
Pranav C Balan 4 years ago
parent
commit
69be2a9bf7
  1. 1
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

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

@ -696,6 +696,7 @@ export default {
if (!this.data[row]) return; if (!this.data[row]) return;
const {row: rowObj, rowMeta, oldRow} = this.data[row]; const {row: rowObj, rowMeta, oldRow} = this.data[row];
if (rowMeta.new) { if (rowMeta.new) {
await this.save()
} else { } else {
try { try {
if (!this.api) return; if (!this.api) return;

Loading…
Cancel
Save