fix: include 'Ended' status in changeableStatus for orderable requests
This commit is contained in:
parent
34acae4329
commit
26a8761d33
1 changed files with 5 additions and 1 deletions
|
|
@ -55,7 +55,11 @@ function changeableStatus(currentStatus?: RequestWorkStatus) {
|
|||
default:
|
||||
if (props.readonly) return [];
|
||||
if (props.orderAble) {
|
||||
return [RequestWorkStatus.Ready, RequestWorkStatus.Canceled];
|
||||
return [
|
||||
RequestWorkStatus.Ready,
|
||||
RequestWorkStatus.Ended,
|
||||
RequestWorkStatus.Canceled,
|
||||
];
|
||||
} else {
|
||||
return [RequestWorkStatus.Ended, RequestWorkStatus.Canceled];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue