diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-30 11:21:39 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-30 11:21:39 -0400 |
| commit | bbbf935e2abd9b603a090c594d09ea91d7a92f6e (patch) | |
| tree | d15f607801f3eb2ad69909ab2821b06cc821f444 /www/js/StateCtrl.js | |
| parent | b3789d4a753814e81672aa59dee4a6e0d5ce55b2 (diff) | |
#733 other cleanup
Diffstat (limited to 'www/js/StateCtrl.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( |
