[FIX] Close SortDropdown on sort select (#1230)
This commit is contained in:
parent
e86205c74e
commit
bbc8fe5398
|
@ -64,10 +64,12 @@ class Sort extends PureComponent {
|
||||||
|
|
||||||
sortByName = () => {
|
sortByName = () => {
|
||||||
this.setSortPreference({ sortBy: 'alphabetical' });
|
this.setSortPreference({ sortBy: 'alphabetical' });
|
||||||
|
this.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
sortByActivity = () => {
|
sortByActivity = () => {
|
||||||
this.setSortPreference({ sortBy: 'activity' });
|
this.setSortPreference({ sortBy: 'activity' });
|
||||||
|
this.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleGroupByType = () => {
|
toggleGroupByType = () => {
|
||||||
|
|
Loading…
Reference in New Issue