From 02c30aa00ae57e3f879e17466e7568706fad17c5 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 24 Sep 2025 11:52:06 +0300 Subject: [PATCH] add fixes --- ui-ngx/src/app/core/services/utils.service.ts | 2 +- .../authentication-dialog/email-auth-dialog.component.ts | 2 +- ui-ngx/src/app/modules/login/pages/login/login.component.ts | 4 ++-- ui-ngx/src/app/shared/components/contact.component.ts | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/core/services/utils.service.ts b/ui-ngx/src/app/core/services/utils.service.ts index 59ce20c4bc..734e503aeb 100644 --- a/ui-ngx/src/app/core/services/utils.service.ts +++ b/ui-ngx/src/app/core/services/utils.service.ts @@ -50,7 +50,6 @@ import { entityTypeTranslations } from '@shared/models/entity-type.models'; import cssjs from '@core/css/css'; import { isNotEmptyTbFunction } from '@shared/models/js-function.models'; import { defaultFormProperties, FormProperty } from '@shared/models/dynamic-form.models'; -import { AbstractControl, ValidationErrors, Validators } from "@angular/forms"; const i18nRegExp = new RegExp(`{${i18nPrefix}:([^{}]+)}`, 'g'); @@ -477,4 +476,5 @@ export class UtilsService { el.parentNode.removeChild(el); } } + } diff --git a/ui-ngx/src/app/modules/home/pages/security/authentication-dialog/email-auth-dialog.component.ts b/ui-ngx/src/app/modules/home/pages/security/authentication-dialog/email-auth-dialog.component.ts index e69ff94bd2..6ed9099522 100644 --- a/ui-ngx/src/app/modules/home/pages/security/authentication-dialog/email-auth-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/pages/security/authentication-dialog/email-auth-dialog.component.ts @@ -58,7 +58,7 @@ export class EmailAuthDialogComponent extends DialogComponent = null; diff --git a/ui-ngx/src/app/shared/components/contact.component.ts b/ui-ngx/src/app/shared/components/contact.component.ts index 330a3a100e..d52e7d139b 100644 --- a/ui-ngx/src/app/shared/components/contact.component.ts +++ b/ui-ngx/src/app/shared/components/contact.component.ts @@ -30,6 +30,9 @@ export class ContactComponent { phoneInputDefaultCountry = 'US'; + constructor() { + } + changeCountry(countryCode: string) { this.phoneInputDefaultCountry = countryCode ?? 'US'; setTimeout(() => {