Browse Source

Minor getEdgeEventContentByEntityType refactoring

pull/3811/head
deaflynx 6 years ago
parent
commit
f470a7ca30
  1. 4
      ui-ngx/src/app/core/http/entity.service.ts

4
ui-ngx/src/app/core/http/entity.service.ts

@ -1323,8 +1323,8 @@ export class EntityService {
public getEdgeEventContentByEntityType(entity: any): Observable<any> {
let entityObservable: Observable<any>;
const entityId = entity.entityId;
const entityType = entity.type;
const entityId: string = entity.entityId;
const entityType: any = entity.type;
switch (entityType) {
case EdgeEventType.DASHBOARD:
case EdgeEventType.ALARM:

Loading…
Cancel
Save