diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/arguments-table/calculated-field-arguments-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/arguments-table/calculated-field-arguments-table.component.html index 5510aeb2c2..6bab01f976 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/arguments-table/calculated-field-arguments-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/arguments-table/calculated-field-arguments-table.component.html @@ -126,11 +126,11 @@ color="primary" #button (click)="manageArgument($event, button)" - [disabled]="!!maxArgumentsPerCF && argumentsFormArray.length >= maxArgumentsPerCF" + [disabled]="maxArgumentsPerCF > 0 && argumentsFormArray.length >= maxArgumentsPerCF" > {{ 'calculated-fields.add-argument' | translate }} - @if (!!maxArgumentsPerCF && argumentsFormArray.length >= maxArgumentsPerCF) { + @if (maxArgumentsPerCF && argumentsFormArray.length >= maxArgumentsPerCF) {
warning {{ 'calculated-fields.hint.max-args' | translate }}