Browse Source

add filter only enabled bases to openCreateTable

pull/5159/head
Semjon Geist 2 years ago
parent
commit
c894659283
  1. 2
      packages/nc-gui/pages/[projectType]/[projectId]/index/index/index.vue

2
packages/nc-gui/pages/[projectType]/[projectId]/index/index/index.vue

@ -130,7 +130,7 @@ function openCreateTable() {
const { close } = useDialog(resolveComponent('DlgTableCreate'), {
'modelValue': isOpen,
'onUpdate:modelValue': closeDialog,
'baseId': bases.value[0].id,
'baseId': bases.value?.filter((base: BaseType) => base.enabled)[0].id,
})
function closeDialog() {

Loading…
Cancel
Save