Browse Source

Merge pull request #8419 from devaskim/patch-1

Added assetProfileService to ServicesMap
pull/8439/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
43dc8dd3e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pull_request_template.md
  2. 2
      ui-ngx/src/app/modules/home/models/services.map.ts

2
pull_request_template.md

@ -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.

2
ui-ngx/src/app/modules/home/models/services.map.ts

@ -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],

Loading…
Cancel
Save