fix(ui): reload on sort change
This commit is contained in:
parent
187e24ee19
commit
ff2cd695ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue