From 6beb6c4f442cd46f5e6910694bff1fc2753084a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 28 Apr 2021 14:33:40 +0200 Subject: [PATCH] Convert IntegrationForm to use Layout component --- .../IntegrationConfigForm.svelte | 40 ++++++------- .../EventsEditor/EventEditor.svelte | 14 ++++- .../[selectedDatasource]/index.svelte | 58 +++++++++---------- 3 files changed, 58 insertions(+), 54 deletions(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index 14c980f7f9..e442afd08d 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -1,34 +1,33 @@
- {#each Object.keys(schema) as configKey} - {#if schema[configKey].type === "object"} - - - - {:else} -
+ + {#each Object.keys(schema) as configKey} + {#if schema[configKey].type === "object"} - -
- {/if} - {/each} + {:else} +
+ + +
+ {/if} + {/each} + diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte index fdd01f4976..96533ae599 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte @@ -1,7 +1,13 @@ -
-
+ +
{/if}
+ +
{#if selectedAction}
diff --git a/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte b/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte index fbb7a33c21..5b67e11206 100644 --- a/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte +++ b/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte @@ -1,6 +1,6 @@