diff --git a/packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue b/packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue index 651b441f0a..ec7c8a1241 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue @@ -4,6 +4,7 @@ import { ActiveViewInj, IsLockedInj, IsPublicInj, + MetaInj, extractSdkResponseErrorMsg, inject, message, @@ -57,7 +58,10 @@ const quickImportDialogs: Record meta.value?.base_id) const Icon = computed(() => { switch (selectedView.value?.lock_type) { @@ -248,7 +252,7 @@ useMenuCloseOnEsc(open) :key="type" v-model="quickImportDialogs[type].value" :import-type="type" - :base-id="bases[0].id" + :base-id="currentBaseId" :import-data-only="true" />