fixed inactive state bug
This commit is contained in:
parent
c11725b701
commit
b27a8cff86
@ -142,6 +142,7 @@ function StatsCtrl($scope, $filter, socket, _, toastr) {
|
||||
break;
|
||||
|
||||
case "inactive":
|
||||
if(typeof data.stats !== 'undefined')
|
||||
$scope.nodes[findIndex({id: data.id})].stats = data.stats;
|
||||
toastr['error']("Node "+ $scope.nodes[findIndex({id: data.id})].info.name +" went away!", "Node connection was lost!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user