diff --git a/packages/builder/src/components/backend/Datasources/ConfigEditor/index.svelte b/packages/builder/src/components/backend/Datasources/ConfigEditor/index.svelte index c00c3e78ee..fc24266959 100644 --- a/packages/builder/src/components/backend/Datasources/ConfigEditor/index.svelte +++ b/packages/builder/src/components/backend/Datasources/ConfigEditor/index.svelte @@ -31,16 +31,9 @@ config: get(configStore).config, name: get(nameStore).name, }) - } else { - notifications.send("Invalid fields", { - type: "error", - icon: "Alert", - autoDismiss: true, - }) - - // Prevent modal closing - return false } + + return false } let createVariableModal diff --git a/packages/builder/src/pages/builder/app/[application]/data/_components/CreateExternalDatasourceModal/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/_components/CreateExternalDatasourceModal/index.svelte index 8e20caa49d..9dfe18a407 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/_components/CreateExternalDatasourceModal/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/_components/CreateExternalDatasourceModal/index.svelte @@ -66,7 +66,7 @@ }) store.setDatasource(datasource) - notifications.success("Datasource created successfully.") + notifications.success("Datasource created successfully") } catch (e) { notifications.error(`Error creating datasource: ${e.message}`) } diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/_components/EditDatasourceConfig.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/_components/EditDatasourceConfig.svelte index 218c9e1583..033b21e44c 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/_components/EditDatasourceConfig.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/_components/EditDatasourceConfig.svelte @@ -1,7 +1,7 @@