|
|
@ -220,7 +220,6 @@ export default function EventTableDirective($compile, $templateCache, $rootScope |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
scope.subscriptionId = null; |
|
|
scope.subscriptionId = null; |
|
|
scope.queueStartTs = 0; |
|
|
|
|
|
|
|
|
|
|
|
scope.loadEdgeInfo = function() { |
|
|
scope.loadEdgeInfo = function() { |
|
|
attributeService.getEntityAttributesValues( |
|
|
attributeService.getEntityAttributesValues( |
|
|
@ -228,11 +227,10 @@ export default function EventTableDirective($compile, $templateCache, $rootScope |
|
|
scope.entityId, |
|
|
scope.entityId, |
|
|
types.attributesScope.server.value, |
|
|
types.attributesScope.server.value, |
|
|
types.edgeAttributeKeys.queueStartTs, |
|
|
types.edgeAttributeKeys.queueStartTs, |
|
|
{}) |
|
|
null).then( |
|
|
.then(function success(attributes) { |
|
|
function success(attributes) { |
|
|
scope.onEdgeAttributesUpdate(attributes); |
|
|
attributes.length > 0 ? scope.onEdgeAttributesUpdate(attributes) : scope.queueStartTs = 0; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
scope.checkSubscription(); |
|
|
scope.checkSubscription(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|