diff --git a/eml-client/src/App.svelte b/eml-client/src/App.svelte index ff2877b..990323f 100644 --- a/eml-client/src/App.svelte +++ b/eml-client/src/App.svelte @@ -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)) })