fixed inactive state bug

This commit is contained in:
cubedro 2015-04-24 13:33:50 +03:00
parent c11725b701
commit b27a8cff86

View File

@ -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!");