From 4c397ea95865da014f67ad679479888e127852f5 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sun, 3 Nov 2019 22:06:03 +0100 Subject: [PATCH] :bug: Fix bug that "alwaysOpenEditWindow" did not work for "json" type --- packages/editor-ui/src/components/ParameterInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 19fff5a6a7..5ea67defe5 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -455,7 +455,7 @@ export default mixins( return; } - if (this.parameter.type === 'string' && this.getArgument('alwaysOpenEditWindow')) { + if (['json', 'string'].includes(this.parameter.type) && this.getArgument('alwaysOpenEditWindow')) { this.displayEditDialog(); return; }