From 6cc56380aa82a2e1f30eb817a98d1d672d885d53 Mon Sep 17 00:00:00 2001 From: jf Date: Wed, 4 Nov 2026 14:02:55 +0000 Subject: [PATCH] Fix sorting empty screen --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 0b99a6d..e26fd4b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -240,7 +240,7 @@ function App() { ? b.updated_at.localeCompare(a.updated_at) : sort === 'subject' ? a.subject.localeCompare(b.subject) - : b.id.localeCompare(a.id), + : Number(b.id) - Number(a.id), ) const title = queue ? boot.queues.find((q: Data) => q.id === queue)?.name