Browse Source

refactor: add toast message after successful table deletion

pull/2547/head
Wing-Kam Wong 3 years ago
parent
commit
96c8a2886d
  1. 1
      packages/nc-gui/components/project/Table.vue

1
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)

Loading…
Cancel
Save