gate env vars for rest variables

This commit is contained in:
Peter Clement 2023-01-30 16:28:45 +00:00
parent 29a6bbbb90
commit ee94435c06
1 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,7 @@
runtimeToReadableMap,
} from "builderStore/dataBinding"
import { cloneDeep } from "lodash/fp"
import { licensing } from "stores/portal"
export let datasource
export let queries
@ -94,7 +95,9 @@
headings
bind:object={datasource.config.staticVariables}
on:change
bindings={getEnvironmentBindings()}
bindings={$licensing.environmentVariablesEnabled
? getEnvironmentBindings()
: []}
/>
</Layout>
<div />