From c96b82328ed3dd6b3ca3c3a2185d1ede1f0c55c1 Mon Sep 17 00:00:00 2001 From: Marcus Bader Date: Sat, 25 Nov 2023 12:24:37 +0100 Subject: [PATCH] Fix: extra variables validation error --- web/src/components/EnvironmentForm.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/src/components/EnvironmentForm.vue b/web/src/components/EnvironmentForm.vue index 6befbd386..2a5722a18 100644 --- a/web/src/components/EnvironmentForm.vue +++ b/web/src/components/EnvironmentForm.vue @@ -72,6 +72,15 @@ export default { codemirror, }, + created() { + if (!this.item.env) { + this.item.env = '{}'; + } + if (!this.item.json) { + this.item.json = '{}'; + } + }, + data() { return { cmOptions: {