Browse Source

fix(nc-gui): check if activeTab exists

pull/3801/head
braks 2 years ago
parent
commit
9dc5c11643
  1. 2
      packages/nc-gui/components/tabs/Smartsheet.vue

2
packages/nc-gui/components/tabs/Smartsheet.vue

@ -34,7 +34,7 @@ const activeView = ref()
const fields = ref<ColumnType[]>([])
const meta = computed<TableType | undefined>(() => metas.value[activeTab.value.id!])
const meta = computed<TableType | undefined>(() => activeTab.value && metas.value[activeTab.value.id!])
const reloadEventHook = createEventHook()

Loading…
Cancel
Save