fix: reset saving for early return

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
Wing-Kam Wong
2022-01-31 16:08:55 +08:00
parent d2cbffd271
commit 6f03233b3d

View File

@@ -1049,9 +1049,9 @@ export default {
} else {
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)
}
}
},