Merge pull request #13086 from vvlladd28/bug/calc-fields/title-script

Fixed typo in 'Calculate Field' script section title
This commit is contained in:
Igor Kulikov 2025-04-02 13:19:59 +03:00 committed by GitHub
commit d456086627
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,9 @@
/>
</div>
<div class="tb-form-panel no-gap">
<div class="tb-form-panel-title tb-required">{{ 'calculated-fields.expression' | translate }}</div>
<div class="tb-form-panel-title tb-required">
{{ (fieldFormGroup.get('type').value === CalculatedFieldType.SIMPLE ? 'calculated-fields.expression' : 'calculated-fields.type.script' ) | translate }}
</div>
<mat-form-field class="mt-3" appearance="outline" subscriptSizing="dynamic" [class.hidden]="fieldFormGroup.get('type').value !== CalculatedFieldType.SIMPLE">
<input matInput formControlName="expressionSIMPLE" maxlength="255" [placeholder]="'(temperature - 32) / 1.8'" required>
@if (configFormGroup.get('expressionSIMPLE').errors && configFormGroup.get('expressionSIMPLE').touched) {