diff --git a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte index 408e1edd3c..3955e34041 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte @@ -13,7 +13,6 @@ $backendUiStore.selectedView && $backendUiStore.selectedView.name function selectDatasource(datasource) { - // You can't actually select a datasource, just edit it backendUiStore.actions.datasources.select(datasource._id) $goto(`./datasource/${datasource._id}`) } diff --git a/packages/builder/src/components/integration/QueryParameterBuilder.svelte b/packages/builder/src/components/integration/QueryParameterBuilder.svelte index 440dd5ea5e..91f0eb023c 100644 --- a/packages/builder/src/components/integration/QueryParameterBuilder.svelte +++ b/packages/builder/src/components/integration/QueryParameterBuilder.svelte @@ -2,6 +2,7 @@ import { Button, TextArea, Label, Input, Heading } from "@budibase/bbui" import BindableInput from "components/userInterface/BindableInput.svelte" + export let bindable = true export let parameters = [] export let bindings = [] export let customParams = {} @@ -18,19 +19,23 @@
Parameters -
+
- + {#if bindable} + + {/if}
{#each parameters as parameter, idx} - + {#if bindable} + + {/if} deleteQueryParameter(idx)} /> @@ -40,9 +45,13 @@
diff --git a/packages/builder/src/components/integration/index.svelte b/packages/builder/src/components/integration/index.svelte index 9f81442074..9b9b7e5d11 100644 --- a/packages/builder/src/components/integration/index.svelte +++ b/packages/builder/src/components/integration/index.svelte @@ -15,7 +15,8 @@ {#if query.queryType === QueryTypes.SQL} - + - +