From 96c8a2886d131b22b6fb9161a5c5b97610cab2e5 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 4 Jul 2022 13:22:44 +0800 Subject: [PATCH] refactor: add toast message after successful table deletion --- packages/nc-gui/components/project/Table.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nc-gui/components/project/Table.vue b/packages/nc-gui/components/project/Table.vue index 62b7f88e22..266a800f93 100644 --- a/packages/nc-gui/components/project/Table.vue +++ b/packages/nc-gui/components/project/Table.vue @@ -143,6 +143,7 @@ export default { key: this.deleteId, value: null }) + this.$toast.info(`Deleted table ${this.nodes.table_name} successfully`).goAway(3000) } catch (e) { const msg = await this._extractSdkResponseErrorMsg(e) this.$toast.error(msg).goAway(3000)