fix ui bugs

master
yixian 5 years ago
parent 1079f9df9d
commit 3c031741fb

@ -42,7 +42,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
}
}
let finished = $scope.progress.finished_sequence;
if ($scope.currentTasks) {
if ($scope.currentTasks && finished) {
for (let finId of finished) {
$scope.currentTasks.filter(task => task.task_id === finId).forEach(v => {
v.idle = false;

Loading…
Cancel
Save