fix: condition not working
This commit is contained in:
parent
07d796251b
commit
a0f20970ae
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ export class RequestListController extends Controller {
|
|||
}
|
||||
|
||||
const where = {
|
||||
stepStatus: readyToTask || workStatus ? statusCondition : undefined,
|
||||
stepStatus: readyToTask || cancelOnly || workStatus ? statusCondition : undefined,
|
||||
creditNote: cancelOnly ? null : undefined,
|
||||
request: {
|
||||
id: requestDataId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue