Browse Source

Add EdgeService to the WidgetContext

pull/6809/head
Andrii Shvaika 4 years ago
parent
commit
5e65438ebb
  1. 2
      ui-ngx/src/app/modules/home/models/widget-component.models.ts

2
ui-ngx/src/app/modules/home/models/widget-component.models.ts

@ -78,6 +78,7 @@ import { PageLink } from '@shared/models/page/page-link';
import { SortOrder } from '@shared/models/page/sort-order'; import { SortOrder } from '@shared/models/page/sort-order';
import { DomSanitizer } from '@angular/platform-browser'; import { DomSanitizer } from '@angular/platform-browser';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { EdgeService } from '@core/http/edge.service';
import * as RxJS from 'rxjs'; import * as RxJS from 'rxjs';
import * as RxJSOperators from 'rxjs/operators'; import * as RxJSOperators from 'rxjs/operators';
import { TbPopoverComponent } from '@shared/components/popover.component'; import { TbPopoverComponent } from '@shared/components/popover.component';
@ -160,6 +161,7 @@ export class WidgetContext {
deviceService: DeviceService; deviceService: DeviceService;
assetService: AssetService; assetService: AssetService;
entityViewService: EntityViewService; entityViewService: EntityViewService;
edgeService: EdgeService;
customerService: CustomerService; customerService: CustomerService;
dashboardService: DashboardService; dashboardService: DashboardService;
userService: UserService; userService: UserService;

Loading…
Cancel
Save