Browse Source

add feature 5103

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

2
packages/nc-gui/composables/useProject.ts

@ -35,7 +35,7 @@ export const useProject = createSharedComposable(() => {
const project = ref<ProjectType>({})
const bases = computed<BaseType[]>(() => project.value?.bases || [])
const bases = computed<BaseType[]>(() => project.value?.bases?.filter((base: BaseType) => base.enabled) || [])
const tables = ref<TableType[]>([])

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

@ -98,6 +98,7 @@ function openQuickImportDialog(type: QuickImportTypes, file: File) {
'modelValue': isOpen,
'importType': type,
'onUpdate:modelValue': closeDialog,
'baseId': bases.value[0].id,
})
vNode.value?.component?.exposed?.handleChange({

Loading…
Cancel
Save