From df62957780e50b67e589b8feeef2bd6b4b73e902 Mon Sep 17 00:00:00 2001 From: deaflynx Date: Sat, 11 Jul 2020 00:34:00 +0300 Subject: [PATCH] For edgeEvents added Status of data received by Edge v.1.0 --- ui/src/app/event/event-row.directive.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/app/event/event-row.directive.js b/ui/src/app/event/event-row.directive.js index 7bec6c28dd..2e4163d694 100644 --- a/ui/src/app/event/event-row.directive.js +++ b/ui/src/app/event/event-row.directive.js @@ -26,7 +26,7 @@ import eventRowEdgeEventTemplate from './event-row-edge-event.tpl.html'; /* eslint-enable import/no-unresolved, import/default */ /*@ngInject*/ -export default function EventRowDirective($compile, $templateCache, $mdDialog, $document, $translate, $log, +export default function EventRowDirective($compile, $templateCache, $mdDialog, $document, $translate, types, toast, entityService, ruleChainService, userService, attributeService) { var linker = function (scope, element, attrs) { @@ -148,9 +148,7 @@ export default function EventRowDirective($compile, $templateCache, $mdDialog, $ attributeService.getEntityAttributes(params.entityType, params.entityId, params.attributeScope, params.query, function (attribute) { if (attribute && attribute.data) { - $log.log("attribute", attribute); lastDisconnectTime = attribute.data[0].lastUpdateTs; - $log.log("lastDisconnectTime", lastDisconnectTime, typeof(lastDisconnectTime)); } }); }