added table order

This commit is contained in:
cubedro
2015-04-06 05:40:29 +03:00
parent 2a7cf566f3
commit e764147d2a
2 changed files with 6 additions and 3 deletions

View File

@@ -25,6 +25,9 @@ function StatsCtrl($scope, $filter, socket, _, toastr) {
$scope.nodes = [];
$scope.map = [];
$scope.predicate = ['-stats.block.number', 'stats.block.propagation'];
$scope.reverse = false;
$scope.timeout = setInterval(function(){
$scope.$apply();
}, 1000);