...
|
...
|
@@ -105,11 +105,11 @@ export default function EdgeDownlinksRowDirective($compile, $templateCache, $mdD |
105
|
105
|
scope.updateStatus = function(downlinkCreatedTime) {
|
106
|
106
|
var status;
|
107
|
107
|
if (downlinkCreatedTime < scope.queueStartTs) {
|
108
|
|
- status = $translate.instant(types.getEdgeStatus.DEPLOYED.name);
|
109
|
|
- scope.statusColor = types.getEdgeStatus.DEPLOYED.color;
|
|
108
|
+ status = $translate.instant(types.edgeEventStatus.DEPLOYED.name);
|
|
109
|
+ scope.statusColor = types.edgeEventStatus.DEPLOYED.color;
|
110
|
110
|
} else {
|
111
|
|
- status = $translate.instant(types.getEdgeStatus.PENDING.name);
|
112
|
|
- scope.statusColor = types.getEdgeStatus.PENDING.color;
|
|
111
|
+ status = $translate.instant(types.edgeEventStatus.PENDING.name);
|
|
112
|
+ scope.statusColor = types.edgeEventStatus.PENDING.color;
|
113
|
113
|
}
|
114
|
114
|
return status;
|
115
|
115
|
}
|
...
|
...
|
|