Skip to content

Commit

Permalink
fix task summary with pending jobs (#6662)
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz authored Nov 28, 2022
1 parent 003b14d commit 1927d38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/javascripts/admin/voxelytics/task_list_view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,11 @@ function aggregateTaskInfos(

if (taskInfos.every((t) => t.state === VoxelyticsRunState.SKIPPED)) {
state = VoxelyticsRunState.SKIPPED;
} else if (taskInfos.every((t) => t.state === VoxelyticsRunState.PENDING)) {
} else if (
taskInfos.every(
(t) => t.state === VoxelyticsRunState.PENDING || t.state === VoxelyticsRunState.SKIPPED,
)
) {
state = VoxelyticsRunState.PENDING;
} else if (
taskInfos.every(
Expand Down

0 comments on commit 1927d38

Please sign in to comment.