🐛 Fix bug that "alwaysOpenEditWindow" did not work for "json" type

This commit is contained in:
Jan Oberhauser 2019-11-03 22:06:03 +01:00
parent a7fb4d99ba
commit 4c397ea958

View file

@ -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;
}