Browse Source

fix(gui-v2): add missing await

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3421/head
Pranav C 2 years ago
parent
commit
6c430cdd97
  1. 2
      packages/nc-gui-v2/composables/useTable.ts

2
packages/nc-gui-v2/composables/useTable.ts

@ -90,7 +90,7 @@ export function useTable(onTableCreate?: (tableMeta: TableType) => void) {
await $api.dbTable.delete(table?.id as string) await $api.dbTable.delete(table?.id as string)
closeTab({ await closeTab({
type: TabType.TABLE, type: TabType.TABLE,
id: table.id, id: table.id,
title: table.title, title: table.title,

Loading…
Cancel
Save