From 79fb11a07df061c51b7789b8716e939e80b577a3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 10:43:52 +0200 Subject: [PATCH] Removed obsolete "Assign to customer" field from Add Asset dialog (#16358) --- .../app/modules/home/pages/asset/asset.component.html | 9 --------- .../src/app/modules/home/pages/asset/asset.component.ts | 3 --- 2 files changed, 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/asset/asset.component.html b/ui-ngx/src/app/modules/home/pages/asset/asset.component.html index 01d410ec52..625fa603c6 100644 --- a/ui-ngx/src/app/modules/home/pages/asset/asset.component.html +++ b/ui-ngx/src/app/modules/home/pages/asset/asset.component.html @@ -69,15 +69,6 @@ [showDetailsPageLink]="resource.ASSET_PROFILE | hasGenericPermission : operation.READ" (assetProfileUpdated)="onAssetProfileUpdated()"> - @if (isAdd) { - - - }
asset.description diff --git a/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts b/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts index 57b05777c5..bf142b80f3 100644 --- a/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts +++ b/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts @@ -5,7 +5,6 @@ import { ChangeDetectorRef, Component, Inject } from '@angular/core'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { EntityType } from '@shared/models/entity-type.models'; import { ActionNotificationShow } from '@core/notification/notification.actions'; import { TranslateService } from '@ngx-translate/core'; import { AssetInfo } from '@shared/models/asset.models'; @@ -25,8 +24,6 @@ import { Authority } from '@shared/models/authority.enum'; }) export class AssetComponent extends GroupEntityComponent { - entityType = EntityType; - readonly isTenantAdmin: boolean; // assetScope: 'tenant' | 'customer' | 'customer_user';