From 4c1b4fd1a8c2c46f8e6533c09aece7269aed9fe7 Mon Sep 17 00:00:00 2001 From: Gregory Salaun Date: Thu, 6 Aug 2026 17:36:09 +0200 Subject: [PATCH] ui(awards): keep the Followed column sorted alphabetically like Available --- frontend/src/components/SettingsModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index c75b615..d8bfc5a 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -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 (