Automatically check logger status on config page

This commit is contained in:
Patrick McDonagh
2016-05-03 15:19:08 -05:00
parent 39b6c1b6a7
commit e26359b47c

View File

@@ -52,7 +52,7 @@ poconsole.controller('configCtrl', function($scope, Page, $log, config, devices)
$scope.loggerRunning = data.status;
});
};
// $scope.checkLogger();
$scope.checkLogger();
$scope.restartLogger = function(){
var restartLogger = config.restartLogger();