added main stats default values

This commit is contained in:
Marian Oancea 2015-02-05 17:54:04 +02:00
parent 75bfb68f84
commit 30fc4e9d71
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,15 @@
function StatsCtrl($scope, socket, _) {
// Main Stats init
// ---------------
$scope.nodesTotal = 0;
$scope.nodesActive = 0;
$scope.bestBlock = 0;
$scope.lastBlock = 0;
$scope.upTimeTotal = 0;
// Socket listeners
// ----------------