diff --git a/src/scripts/controllers/task-detail.js b/src/scripts/controllers/task-detail.js index 03d9aba..dbc8ec2 100644 --- a/src/scripts/controllers/task-detail.js +++ b/src/scripts/controllers/task-detail.js @@ -30,6 +30,11 @@ $scope.context.availableOptions = getAvailableOptions(task.status, !!task.bittorrent); } + if ($scope.task) { + delete $scope.task.verifiedLength; + delete $scope.task.verifyIntegrityPending; + } + $scope.task = ariaNgCommonService.copyObjectTo(task, $scope.task); $rootScope.taskContext.list = [$scope.task]; @@ -74,6 +79,7 @@ } var task = response.data; + processTask(task); if (requireBtPeers(task)) {