Browse Source

refactoring

pull/12796/head
mpetrov 2 years ago
parent
commit
4620261e6f
  1. 5
      ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.html
  2. 4
      ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.scss

5
ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.html

@ -89,11 +89,10 @@
{{ 'calculated-fields.hint.expression-max-length' | translate }}
}
</mat-error>
} @else {
<mat-hint>{{ 'calculated-fields.hint.expression' | translate }}</mat-hint>
}
</mat-form-field>
@if (!configFormGroup.get('expressionSIMPLE').errors || !configFormGroup.get('expressionSIMPLE').touched) {
<span class="tb-form-hint expression-hint">{{ 'calculated-fields.hint.expression' | translate }}</span>
}
} @else {
<tb-js-func
required

4
ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.scss

@ -17,10 +17,6 @@
.dialog-container {
width: 869px;
max-width: 100%;
.tb-form-hint.expression-hint {
padding-bottom: 0;
}
}
.script-lang-chip {

Loading…
Cancel
Save