Skip to content

Commit

Permalink
Fix error, no tags/mail loading when all read
Browse files Browse the repository at this point in the history
Heh, thus proving I haven't had 0 unread for some time..
  • Loading branch information
OJFord committed Mar 11, 2024
1 parent 922178e commit 4baf968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eml-client/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"sent",
"spam",
] // Ordered
specialQueries = specials.map((n) => allTagQueries.find((e) => e.name == n),
specialQueries = specials.flatMap(
(n) => allTagQueries.find((e) => e.name == n) ?? [],
)
tagQueries = allTagQueries.filter((t) => !specials.includes(t.name))
})
Expand Down

0 comments on commit 4baf968

Please sign in to comment.