Browse Source

change base type

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

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

@ -1,5 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { UploadChangeParam, UploadFile } from 'ant-design-vue' import type { UploadChangeParam, UploadFile } from 'ant-design-vue'
import type { BaseType } from 'nocodb-sdk'
import { import {
message, message,
ref, ref,
@ -98,7 +99,7 @@ function openQuickImportDialog(type: QuickImportTypes, file: File) {
'modelValue': isOpen, 'modelValue': isOpen,
'importType': type, 'importType': type,
'onUpdate:modelValue': closeDialog, 'onUpdate:modelValue': closeDialog,
'baseId': bases.value?.filter((base: any) => base.enabled)[0].id, 'baseId': bases.value?.filter((base: BaseType) => base.enabled)[0].id,
}) })
vNode.value?.component?.exposed?.handleChange({ vNode.value?.component?.exposed?.handleChange({

Loading…
Cancel
Save