diff --git a/packages/bbui/src/Form/Core/EnvDropdown.svelte b/packages/bbui/src/Form/Core/EnvDropdown.svelte index f40d6556e5..acb842f350 100644 --- a/packages/bbui/src/Form/Core/EnvDropdown.svelte +++ b/packages/bbui/src/Form/Core/EnvDropdown.svelte @@ -246,11 +246,6 @@ .spectrum-Popover.spectrum-Popover--bottom.spectrum-Picker-popover.is-open { width: 100%; } - - .no-variables-height { - height: 100px; - } - .no-variables-text { padding: var(--spacing-m); color: var(--spectrum-global-color-gray-600); diff --git a/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte b/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte index c76cb7d468..602a054eaf 100644 --- a/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte +++ b/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte @@ -22,6 +22,8 @@ let developmentValue let useProductionValue = true + const HasSpacesRegex = /[\\"\s]/ + const deleteVariable = async name => { try { await environment.deleteVariable(name) @@ -47,10 +49,16 @@ saveVariable()} title={!row ? "Add new environment variable" : "Edit environment variable"} > - +
Production import { ModalContent, Toggle, Body, InlineAlert } from "@budibase/bbui" - import { licensing } from "stores/portal" export let app export let published @@ -17,11 +16,9 @@ - {#if licensing.environmentVariablesEnabled} - - {/if} + Apps can be exported with or without data that is within internal tables - select this below. { try { + await environment.loadVariables() // If the portal is loaded from an external URL with a template param const initInfo = await auth.getInitInfo() if (initInfo?.init_template) { @@ -275,7 +279,8 @@ {/if}