diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte index cbfbe15b95..53663a4841 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte @@ -16,6 +16,7 @@ runtimeToReadableMap, } from "builderStore/dataBinding" import { cloneDeep } from "lodash/fp" + import { getEnvironmentBindings } from "builderStore/dataBinding" export let datasource export let queries @@ -93,6 +94,7 @@ headings bind:object={datasource.config.staticVariables} on:change + bindings={getEnvironmentBindings()} />
diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/auth/RestAuthenticationModal.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/auth/RestAuthenticationModal.svelte index f19f2279d9..d30ed72c94 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/auth/RestAuthenticationModal.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/auth/RestAuthenticationModal.svelte @@ -1,9 +1,22 @@ {#if form.type === AUTH_TYPES.BASIC} - (blurred.basic.username = true)} error={blurred.basic.username ? errors.basic.username : null} + showModal={() => showModal("configKey")} + variables={$environment.variables} + environmentVariablesEnabled={$licensing.environmentVariablesEnabled} + {handleUpgradePanel} /> - (blurred.basic.password = true)} error={blurred.basic.password ? errors.basic.password : null} + showModal={() => showModal("configKey")} + variables={$environment.variables} + environmentVariablesEnabled={$licensing.environmentVariablesEnabled} + {handleUpgradePanel} /> {/if} {#if form.type === AUTH_TYPES.BEARER} { form.bearer.token = e.detail onFieldChange() @@ -226,3 +277,7 @@ {/if} + + + +