From c18d4722b754d9d9040ea518971444374dd67925 Mon Sep 17 00:00:00 2001 From: Egbert Bouman Date: Wed, 18 Dec 2024 10:58:33 +0100 Subject: [PATCH] Allow multi-sorting when the shift key is pressed --- src/tribler/ui/src/components/ui/simple-table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tribler/ui/src/components/ui/simple-table.tsx b/src/tribler/ui/src/components/ui/simple-table.tsx index 9ca76cd7f4..82ae41cbe5 100644 --- a/src/tribler/ui/src/components/ui/simple-table.tsx +++ b/src/tribler/ui/src/components/ui/simple-table.tsx @@ -27,7 +27,7 @@ export function getHeader(name: string, translate: boolean = true, addSorting
column.toggleSorting()}> + onClick={(e) => column.toggleSorting(undefined, e.shiftKey)}> {translate ? t(name) : name} {column.getIsSorted() === "desc" ? (