Merge pull request #8419 from devaskim/patch-1

Added assetProfileService to ServicesMap
This commit is contained in:
Igor Kulikov 2023-04-26 18:36:23 +03:00 committed by GitHub
commit 43dc8dd3e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Put your PR description here instead of this sentence.
## General checklist
- [ ] You have reviewed the guidelines [document](https://docs.google.com/document/d/1wqcOafLx5hth8SAg4dqV_LV3un3m5WYR8RdTJ4MbbUM/edit?usp=sharing).
- [ ] PR name contains fix version. For example, "[3.3.4] Hotfix of some UI component" or "[3.4] New Super Feature".
- [ ] [Labels](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels#about-labels) that classify your pull request have been added.
- [ ] The [milestone](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/about-milestones) is specified and corresponds to fix version.
- [ ] Description references specific [issue](https://github.com/thingsboard/thingsboard/issues).
- [ ] Description contains human-readable scope of changes.

View File

@ -35,6 +35,7 @@ import { Router } from '@angular/router';
import { BroadcastService } from '@core/services/broadcast.service';
import { ImportExportService } from '@home/components/import-export/import-export.service';
import { DeviceProfileService } from '@core/http/device-profile.service';
import { AssetProfileService } from '@core/http/asset-profile.service';
import { OtaPackageService } from '@core/http/ota-package.service';
import { AuthService } from '@core/auth/auth.service';
import { ResourceService } from '@core/http/resource.service';
@ -67,6 +68,7 @@ export const ServicesMap = new Map<string, Type<any>>(
['router', Router],
['importExport', ImportExportService],
['deviceProfileService', DeviceProfileService],
['assetProfileService', AssetProfileService],
['otaPackageService', OtaPackageService],
['authService', AuthService],
['resourceService', ResourceService],