diff --git a/ui-ngx/src/app/core/http/entity.service.ts b/ui-ngx/src/app/core/http/entity.service.ts index 7a0ef5acd0..e0afb0a2e4 100644 --- a/ui-ngx/src/app/core/http/entity.service.ts +++ b/ui-ngx/src/app/core/http/entity.service.ts @@ -1323,8 +1323,8 @@ export class EntityService { public getEdgeEventContentByEntityType(entity: any): Observable { let entityObservable: Observable; - 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: