diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue index 416043ee4d..aff2587cd5 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue @@ -233,8 +233,8 @@ const createSource = async () => { emit('sourceCreated') vOpen.value = false creatingSource.value = false - } else if (status === JobStatus.FAILED) { - message.error('Failed to create base') + } else if (data.status === JobStatus.FAILED) { + message.error(data?.data?.error?.message || 'Failed to create base') creatingSource.value = false } } diff --git a/packages/nc-gui/components/workspace/integrations/forms/EditOrAddDatabase.vue b/packages/nc-gui/components/workspace/integrations/forms/EditOrAddDatabase.vue index bc5cd6cf43..f594785e03 100644 --- a/packages/nc-gui/components/workspace/integrations/forms/EditOrAddDatabase.vue +++ b/packages/nc-gui/components/workspace/integrations/forms/EditOrAddDatabase.vue @@ -666,7 +666,7 @@ watch( :label="$t('labels.sqliteFile')" v-bind="validateInfos['dataSource.connection.connection.filename']" > - +