mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix query on bulk actions to handle none/some/visible
This commit is contained in:
parent
35dd48c29e
commit
6702fb35a7
1 changed files with 3 additions and 3 deletions
|
|
@ -624,9 +624,9 @@ export function HomeFeedContainer(): JSX.Element {
|
|||
)
|
||||
;(async () => {
|
||||
const query =
|
||||
multiSelectMode === 'some'
|
||||
? `includes:${checkedItems.join(',')}`
|
||||
: queryInputs.searchQuery || 'in:inbox'
|
||||
multiSelectMode === 'search'
|
||||
? queryInputs.searchQuery || 'in:inbox'
|
||||
: `includes:${checkedItems.join(',')}`
|
||||
try {
|
||||
const res = await bulkActionMutation(action, query)
|
||||
if (res) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue