fix: do not allow change to cancel status
This commit is contained in:
parent
13cacd62de
commit
8175490563
1 changed files with 1 additions and 3 deletions
|
|
@ -575,9 +575,7 @@ function taskStatusCount(index: number, id: string) {
|
||||||
} else {
|
} else {
|
||||||
return task?.filter(
|
return task?.filter(
|
||||||
(t) =>
|
(t) =>
|
||||||
t.taskStatus === TaskStatus.Canceled ||
|
t.taskStatus === TaskStatus.Redo || t.taskStatus === TaskStatus.Failed,
|
||||||
t.taskStatus === TaskStatus.Redo ||
|
|
||||||
t.taskStatus === TaskStatus.Failed,
|
|
||||||
).length;
|
).length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue