From ff2cd695ba1140240cf020a8d2df2d293ad1dd96 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Thu, 31 Oct 2024 15:54:01 +0100 Subject: [PATCH] fix(ui): reload on sort change --- .../SessionsTabOverview/components/SessionSort/SessionSort.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx b/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx index 3f5a86920..a5df41061 100644 --- a/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx +++ b/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx @@ -51,8 +51,8 @@ function SessionSort() { const onSort = ({ key }: { key: string }) => { const [sort, order] = key.split('-'); const sign = order === 'desc' ? -1 : 1; - console.log('sort', sort, 'order', order); searchStore.applyFilter({ order, sort }); + void searchStore.fetchSessions(); onSessionSort(sort, sign); };