Skip to content

Commit 045bd95

Browse files
committed
0 default param value was considered as null (2)
Signed-off-by: Ulysse Rubens <[email protected]> (cherry picked from commit 4c72234)
1 parent c093f19 commit 045bd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/job/AddJobModal.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default {
125125
return this.params.filter(param => !param.required && param.defaultParamValue === null);
126126
},
127127
prefilledParams() {
128-
return this.params.filter(param => param.defaultParamValue);
128+
return this.params.filter(param => param.defaultParamValue !== null);
129129
},
130130
paramsMandatoryNoDefault() {
131131
return this.params.filter(param => param.required && param.defaultParamValue === null);

0 commit comments

Comments
 (0)