Skip to content
Snippets Groups Projects

Resolve "Allow whitespaces as parameters"

Merged Daniel Göbel requested to merge bugfix/108-allow-whitespaces-as-parameters into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -194,7 +194,7 @@ function startWorkflow() {
@@ -194,7 +194,7 @@ function startWorkflow() {
// delete parameters that are strings and have a length of 0
// delete parameters that are strings and have a length of 0
for (const paramName of Object.keys(formState.formInput)) {
for (const paramName of Object.keys(formState.formInput)) {
const param = formState.formInput[paramName];
const param = formState.formInput[paramName];
if (typeof param === "string" && param?.trim().length === 0) {
if (typeof param === "string" && param?.length === 0) {
delete formState.formInput[paramName];
delete formState.formInput[paramName];
}
}
}
}
Loading