[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 = () => {
this.setSortPreference({ sortBy: 'alphabetical' });
this.close();
}
sortByActivity = () => {
this.setSortPreference({ sortBy: 'activity' });
this.close();
}
toggleGroupByType = () => {