Try set default sort and group when choosing Boosts
This commit is contained in:
parent
808c6262d8
commit
4b2ec14dcd
1 changed files with 4 additions and 0 deletions
|
@ -1257,6 +1257,10 @@ function Catchup() {
|
||||||
}
|
}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
setSelectedFilterCategory(label);
|
setSelectedFilterCategory(label);
|
||||||
|
if (label === 'Boosts') {
|
||||||
|
setSortBy('reblogsCount');
|
||||||
|
setGroupBy(null);
|
||||||
|
}
|
||||||
// setSelectedAuthor(null);
|
// setSelectedAuthor(null);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue