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>
This commit is contained in:
Pranav C Balan
2021-06-10 19:21:27 +05:30
parent 1a525fa956
commit 69be2a9bf7

View File

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