fix: avoid using OR field to prevent overwrite
This commit is contained in:
parent
61c043103a
commit
1124a040c8
1 changed files with 1 additions and 1 deletions
|
|
@ -5,5 +5,5 @@ export function filterStatus(val?: Status) {
|
||||||
|
|
||||||
return val !== Status.CREATED && val !== Status.ACTIVE
|
return val !== Status.CREATED && val !== Status.ACTIVE
|
||||||
? { status: val }
|
? { status: val }
|
||||||
: { OR: [{ status: Status.CREATED }, { status: Status.ACTIVE }] };
|
: { status: { in: [Status.CREATED, Status.ACTIVE] } };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue