diff --git a/packages/builder/src/components/integration/QueryViewer.svelte b/packages/builder/src/components/integration/QueryViewer.svelte index ad91b6baa0..0c3e687328 100644 --- a/packages/builder/src/components/integration/QueryViewer.svelte +++ b/packages/builder/src/components/integration/QueryViewer.svelte @@ -201,9 +201,11 @@ {#if !data[0]} + Please run your query to fetch some data. + {:else} {JSON.stringify(data[0], undefined, 2)} {/if} diff --git a/packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/index.svelte b/packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/index.svelte index e97d005884..e6821e16fe 100644 --- a/packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/index.svelte +++ b/packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/index.svelte @@ -11,6 +11,7 @@ $: datasource = $backendUiStore.datasources.find( ds => ds._id === $backendUiStore.selectedDatasourceId ) + $: integration = datasource && $backendUiStore.integrations[datasource.source] async function saveDatasource() { // Create datasource @@ -38,7 +39,6 @@ ) return false } - return true }) @@ -55,12 +55,17 @@