Showing
2 changed files
with
7 additions
and
1 deletions
@@ -402,6 +402,12 @@ export default angular.module('thingsboard.types', []) | @@ -402,6 +402,12 @@ export default angular.module('thingsboard.types', []) | ||
402 | attributesDeleted: "ATTRIBUTES_DELETED", | 402 | attributesDeleted: "ATTRIBUTES_DELETED", |
403 | timeseriesUpdated: "TIMESERIES_UPDATED" | 403 | timeseriesUpdated: "TIMESERIES_UPDATED" |
404 | }, | 404 | }, |
405 | + edgeAttributeKeys: { | ||
406 | + active: "active", | ||
407 | + lastConnectTime: "lastConnectTime", | ||
408 | + lastDisconnectTime: "lastDisconnectTime", | ||
409 | + queueStartTs: "queueStartTs" | ||
410 | + }, | ||
405 | importEntityColumnType: { | 411 | importEntityColumnType: { |
406 | name: { | 412 | name: { |
407 | name: 'import.column-type.name', | 413 | name: 'import.column-type.name', |
@@ -225,7 +225,7 @@ export default function EventTableDirective($compile, $templateCache, $rootScope | @@ -225,7 +225,7 @@ export default function EventTableDirective($compile, $templateCache, $rootScope | ||
225 | 225 | ||
226 | scope.loadEdgeInfo = function() { | 226 | scope.loadEdgeInfo = function() { |
227 | attributeService.getEntityAttributesValues(scope.entityType, scope.entityId, types.attributesScope.server.value, | 227 | attributeService.getEntityAttributesValues(scope.entityType, scope.entityId, types.attributesScope.server.value, |
228 | - ["queueStartTs"], {}) | 228 | + types.edgeAttributeKeys.queueStartTs, {}) |
229 | .then(function success(attributes) { | 229 | .then(function success(attributes) { |
230 | scope.onUpdate(attributes); | 230 | scope.onUpdate(attributes); |
231 | }); | 231 | }); |