feat: include Canceled status in task status count calculation
This commit is contained in:
parent
9fe09ef4ae
commit
1c70245780
1 changed files with 3 additions and 1 deletions
|
|
@ -579,7 +579,9 @@ function taskStatusCount(index: number, id: string) {
|
||||||
} else {
|
} else {
|
||||||
return task?.filter(
|
return task?.filter(
|
||||||
(t) =>
|
(t) =>
|
||||||
t.taskStatus === TaskStatus.Redo || t.taskStatus === TaskStatus.Failed,
|
t.taskStatus === TaskStatus.Redo ||
|
||||||
|
t.taskStatus === TaskStatus.Failed ||
|
||||||
|
t.taskStatus === TaskStatus.Canceled,
|
||||||
).length;
|
).length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue