diff --git a/packages/nc-gui/components/dlg/AirtableImport.vue b/packages/nc-gui/components/dlg/AirtableImport.vue index 0ab6bc3438..88621640ec 100644 --- a/packages/nc-gui/components/dlg/AirtableImport.vue +++ b/packages/nc-gui/components/dlg/AirtableImport.vue @@ -77,9 +77,7 @@ const syncSource = ref({ const sourceSelectorRef = ref() -const customSourceId = computed(() => { - return sourceSelectorRef.value?.customSourceId || sourceId -}) +const sourceIdRef = ref(sourceId) const onLog = (data: { message: string }) => { progressRef.value?.pushProgress(data.message, 'progress') @@ -159,7 +157,7 @@ async function createOrUpdate() { baseId, { operation: 'syncSourceCreate', - sourceId: customSourceId.value, + sourceId: sourceIdRef.value, }, payload, ) @@ -221,7 +219,7 @@ async function listenForUpdates(id?: string) { async function loadSyncSrc() { const data: any = await $api.internal.getOperation(activeWorkspace.value!.id, baseId, { operation: 'syncSourceList', - sourceId: customSourceId.value, + sourceId: sourceIdRef.value, }) const { list: srcs } = data @@ -412,7 +410,7 @@ const collapseKey = ref('') diff --git a/packages/nc-gui/components/dlg/QuickImport.vue b/packages/nc-gui/components/dlg/QuickImport.vue index dc476335ff..daac056455 100644 --- a/packages/nc-gui/components/dlg/QuickImport.vue +++ b/packages/nc-gui/components/dlg/QuickImport.vue @@ -1,5 +1,5 @@