ui(awards): keep the Followed column sorted alphabetically like Available

This commit is contained in:
2026-08-06 17:36:09 +02:00
parent f2cc4f11cd
commit 4c1b4fd1a8
+2 -1
View File
@@ -978,7 +978,8 @@ function AwardsSelectionPanel({ profile }: { profile?: { name?: string; callsign
const needle = q.trim().toLowerCase();
const available = all.filter((a) => !trackedSet.has(a.code)
&& (needle === '' || `${a.code} ${a.name}`.toLowerCase().includes(needle)));
const trackedItems = tracked.map((c) => byCode.get(c)).filter(Boolean) as { code: string; name: string }[];
const trackedItems = (tracked.map((c) => byCode.get(c)).filter(Boolean) as { code: string; name: string }[])
.sort((a, b) => a.code.localeCompare(b.code));
return (
<div>