From 5df33107d361c4f566189a24dc2606d5ebb1254a Mon Sep 17 00:00:00 2001 From: mpetrov Date: Mon, 17 Feb 2025 19:47:23 +0200 Subject: [PATCH] fixes --- .../dialog/calculated-field-dialog.component.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.ts b/ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.ts index 4938c0df01..4a91874b07 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/dialog/calculated-field-dialog.component.ts @@ -14,7 +14,7 @@ /// limitations under the License. /// -import { AfterViewInit, Component, DestroyRef, Inject } from '@angular/core'; +import { Component, DestroyRef, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; @@ -44,7 +44,7 @@ import { CalculatedFieldsService } from '@core/http/calculated-fields.service'; templateUrl: './calculated-field-dialog.component.html', styleUrls: ['./calculated-field-dialog.component.scss'], }) -export class CalculatedFieldDialogComponent extends DialogComponent implements AfterViewInit { +export class CalculatedFieldDialogComponent extends DialogComponent { fieldFormGroup = this.fb.group({ name: ['', [Validators.required, Validators.pattern(noLeadTrailSpacesRegex), Validators.maxLength(255)]], @@ -116,12 +116,6 @@ export class CalculatedFieldDialogComponent extends DialogComponent