diff --git a/src/index.html b/src/index.html index 441bced..d92cc2b 100644 --- a/src/index.html +++ b/src/index.html @@ -232,7 +232,7 @@   -
+
diff --git a/src/scripts/controllers/main.js b/src/scripts/controllers/main.js index 73c9055..44cd091 100644 --- a/src/scripts/controllers/main.js +++ b/src/scripts/controllers/main.js @@ -46,6 +46,7 @@ } $scope.globalStatusContext = { + isEnabled: ariaNgSettingService.getGlobalStatRefreshInterval() > 0, data: ariaNgMonitorService.getGlobalStatsData() }; diff --git a/src/scripts/controllers/task-detail.js b/src/scripts/controllers/task-detail.js index 9b2ae34..c0634b2 100644 --- a/src/scripts/controllers/task-detail.js +++ b/src/scripts/controllers/task-detail.js @@ -127,6 +127,7 @@ $scope.context = { currentTab: 'overview', + isEnableSpeedChart: ariaNgSettingService.getDownloadTaskRefreshInterval() > 0, showChooseFilesToolbar: false, btPeers: [], healthPercent: 0, diff --git a/src/views/task-detail.html b/src/views/task-detail.html index 038894a..c9d029b 100644 --- a/src/views/task-detail.html +++ b/src/views/task-detail.html @@ -146,7 +146,7 @@ ng-repeat="serverAddress in task.bittorrent.announceList | limitTo: (context.collapseTrackers ? 1 : task.bittorrent.announceList.length)">
-
+