Browse Source

fix: disable closing modal on second step of at import

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6816/head
mertmit 1 year ago
parent
commit
0f1a72aa44
  1. 2
      packages/nc-gui/components/dlg/AirtableImport.vue
  2. 1
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

2
packages/nc-gui/components/dlg/AirtableImport.vue

@ -309,6 +309,8 @@ onMounted(async () => {
<a-modal
v-model:visible="dialogShow"
:class="{ active: dialogShow }"
:closable="step !== 2"
:keyboard="step !== 2"
:mask-closable="step !== 2"
width="max(30vw, 600px)"
class="p-2"

1
packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

@ -2521,6 +2521,7 @@ export class AtImportProcessor {
this.telemetryService.sendEvent({
evt_type: 'a:airtable-import:error',
user_id: syncDB.user.id,
email: syncDB.user.email,
data: { error: e.message },
});
console.log(e);

Loading…
Cancel
Save