diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts index dddfe5fe4b..4152f48390 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts @@ -29,11 +29,9 @@ import { import { Store } from '@ngrx/store'; import { AppState } from '@app/core/core.state'; import { TranslateService } from '@ngx-translate/core'; -import { DeviceProfileService } from '@core/http/device-profile.service'; import { EntityType } from '@app/shared/models/entity-type.models'; import { BroadcastService } from '@app/core/services/broadcast.service'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; -import { AssetProfileService } from '@core/http/asset-profile.service'; import { EntityViewService } from '@core/http/entity-view.service'; import { EdgeService } from '@core/http/edge.service'; import { MatFormFieldAppearance } from '@angular/material/form-field'; @@ -100,8 +98,6 @@ export class EntitySubTypeAutocompleteComponent implements ControlValueAccessor, constructor(private store: Store, private broadcast: BroadcastService, public translate: TranslateService, - private deviceProfileService: DeviceProfileService, - private assetProfileService: AssetProfileService, private edgeService: EdgeService, private entityViewService: EntityViewService, private fb: UntypedFormBuilder, diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts index 234f3c7e83..126d284dac 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts @@ -22,8 +22,6 @@ import { TranslateService } from '@ngx-translate/core'; import { EntitySubtype, EntityType } from '@shared/models/entity-type.models'; import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; import { MatChipGrid, MatChipInputEvent } from '@angular/material/chips'; -import { AssetProfileService } from '@core/http/asset-profile.service'; -import { DeviceProfileService } from '@core/http/device-profile.service'; import { EdgeService } from '@core/http/edge.service'; import { EntityViewService } from '@core/http/entity-view.service'; import { BroadcastService } from '@core/services/broadcast.service'; @@ -126,8 +124,6 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit, constructor(private broadcast: BroadcastService, public translate: TranslateService, - private assetProfileService: AssetProfileService, - private deviceProfileService: DeviceProfileService, private edgeService: EdgeService, private entityViewService: EntityViewService, private alarmService: AlarmService, diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts index 5da0c9ff4b..028f086b1a 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts @@ -21,10 +21,8 @@ import { map, mergeMap, startWith, tap, share } from 'rxjs/operators'; import { Store } from '@ngrx/store'; import { AppState } from '@app/core/core.state'; import { TranslateService } from '@ngx-translate/core'; -import { DeviceProfileService } from '@core/http/device-profile.service'; import { EntityType } from '@app/shared/models/entity-type.models'; import { BroadcastService } from '@app/core/services/broadcast.service'; -import { AssetProfileService } from '@core/http/asset-profile.service'; import { EdgeService } from '@core/http/edge.service'; import { EntityViewService } from '@core/http/entity-view.service'; import { SubscriptSizing } from '@angular/material/form-field'; @@ -83,8 +81,6 @@ export class EntitySubTypeSelectComponent implements ControlValueAccessor, OnIni constructor(private store: Store, private broadcast: BroadcastService, public translate: TranslateService, - private deviceProfileService: DeviceProfileService, - private assetProfileService: AssetProfileService, private edgeService: EdgeService, private entityViewService: EntityViewService, private fb: UntypedFormBuilder,