From ff14534e90154fcbdfbe8b84ad4363626cccbab5 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 27 Nov 2022 19:05:29 +0100 Subject: [PATCH] ensure we always load the secret value in the variable editor --- frontend/src/lib/components/VariableEditor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/VariableEditor.svelte b/frontend/src/lib/components/VariableEditor.svelte index f17b700b5f..90b5b7af0a 100644 --- a/frontend/src/lib/components/VariableEditor.svelte +++ b/frontend/src/lib/components/VariableEditor.svelte @@ -70,7 +70,7 @@ decryptSecret: true }) variable.value = getV.value ?? '' - editor?.getCode(variable.value) + editor?.setCode(variable.value) } const MAX_VARIABLE_LENGTH = 3000