[FIX] Close SortDropdown on sort select (#1230)

This commit is contained in:
Prateek Jain 2019-09-26 02:13:17 +05:30 committed by Diego Mello
parent e86205c74e
commit bbc8fe5398
1 changed files with 2 additions and 0 deletions

View File

@ -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 = () => {