From aba6a71b601442f19c54ff1489babe5197a474d4 Mon Sep 17 00:00:00 2001 From: "Elay Aharoni (EXT-Nokia)" Date: Wed, 15 Jan 2025 16:11:26 +0200 Subject: [PATCH] Default pipeline input params are missing from the GUI #11515 Signed-off-by: Elay Aharoni (EXT-Nokia) --- frontend/src/components/NewRunParametersV2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/NewRunParametersV2.tsx b/frontend/src/components/NewRunParametersV2.tsx index 1fced87abf7..003873e9a8c 100644 --- a/frontend/src/components/NewRunParametersV2.tsx +++ b/frontend/src/components/NewRunParametersV2.tsx @@ -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(