diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/StateCtrl.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js index c14c8628..34255287 100644 --- a/www/js/StateCtrl.js +++ b/www/js/StateCtrl.js @@ -261,6 +261,10 @@ $scope.toggleServer = function() { function (success) { $scope.servers = success.data.servers; + if ($scope.servers.length > 0) { + $scope.zmRun =$translate.instant('kStateMultiServer'); + $scope.color = 'grey'; + } // console.log (JSON.stringify($scope.storage)); }, @@ -276,6 +280,10 @@ $scope.toggleServer = function() { // returns ZM running status //---------------------------------------------------------------------- function getRunStatus() { + + + + NVRDataModel.debug("StateCtrl/getRunStatus: " + apiRun); $http.get(apiRun) .then( |
