Skip to content

Commit

Permalink
fix(frontend): fixes Default pipeline input params are missing from t…
Browse files Browse the repository at this point in the history
…he GUI. Fixes #11515 (#11518)

Signed-off-by: Elay Aharoni (EXT-Nokia) <[email protected]>
Co-authored-by: Elay Aharoni (EXT-Nokia) <[email protected]>
  • Loading branch information
ElayAharoni and Elay Aharoni (EXT-Nokia) authored Jan 22, 2025
1 parent 7497b65 commit 8fe2157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/NewRunParametersV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function NewRunParametersV2(props: NewRunParametersProps) {
let allParamtersWithDefault = true;
let errMsg: string[] = [];
Object.keys(specParameters).forEach(key => {
if (specParameters[key].defaultValue) {
if (specParameters[key].defaultValue !== undefined) {
// TODO(zijianjoy): Make sure to consider all types of parameters.
// Convert default value to string type first to avoid error from convertInput
runtimeParametersWithDefault[key] = convertNonUserInputParamToString(
Expand Down

0 comments on commit 8fe2157

Please sign in to comment.