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,7 @@ {/if}