diff --git a/ui-ngx/src/app/shared/components/time-unit-input.component.ts b/ui-ngx/src/app/shared/components/time-unit-input.component.ts index 67f2cc611c..95e5a3f8e1 100644 --- a/ui-ngx/src/app/shared/components/time-unit-input.component.ts +++ b/ui-ngx/src/app/shared/components/time-unit-input.component.ts @@ -205,9 +205,7 @@ export class TimeUnitInputComponent implements ControlValueAccessor, Validator, } } if (propName === 'minTime') { - if (isDefinedAndNotNull(this.minTime)) { - this.minValueValidator = this.minValue; - } + this.minValueValidator = isDefinedAndNotNull(this.minTime) ? this.minValue : 0; } } }