Browse Source

Removed 2 scope.loadEdgeInfo() lines

pull/2436/head
Artem Babak 6 years ago
parent
commit
7b5060fc81
  1. 2
      ui/src/app/event/event-table.directive.js

2
ui/src/app/event/event-table.directive.js

@ -112,7 +112,6 @@ export default function EventTableDirective($compile, $templateCache, $rootScope
scope.eventType, scope.tenantId, scope.events.nextPageLink); scope.eventType, scope.tenantId, scope.events.nextPageLink);
} else { } else {
promise = edgeService.getEdgeEvents(scope.entityId, scope.events.nextPageLink); promise = edgeService.getEdgeEvents(scope.entityId, scope.events.nextPageLink);
scope.loadEdgeInfo();
} }
if (promise) { if (promise) {
scope.events.pending = true; scope.events.pending = true;
@ -142,7 +141,6 @@ export default function EventTableDirective($compile, $templateCache, $rootScope
scope.$watch("entityId", function(newVal, prevVal) { scope.$watch("entityId", function(newVal, prevVal) {
if (newVal && !angular.equals(newVal, prevVal)) { if (newVal && !angular.equals(newVal, prevVal)) {
scope.loadEdgeInfo();
scope.resetFilter(); scope.resetFilter();
scope.reload(); scope.reload();
} }

Loading…
Cancel
Save