From cdd9bed7add7adbbfd6c76ad56516cfc2605c9b3 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 28 Jun 2021 10:55:58 +0100 Subject: [PATCH] Prevent creating datasource without a type selected --- .../DatasourceNavigator/modals/CreateDatasourceModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/modals/CreateDatasourceModal.svelte b/packages/builder/src/components/backend/DatasourceNavigator/modals/CreateDatasourceModal.svelte index 180d03f7ff..d8c29ed250 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/modals/CreateDatasourceModal.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/modals/CreateDatasourceModal.svelte @@ -45,7 +45,7 @@ size="L" confirmText="Create" onConfirm={saveDatasource} - disabled={error || !name} + disabled={error || !name || !integration?.type} >