MM-24201 List joinable teams alphabetically (#4365)
Matches webapp behaviour.
This commit is contained in:
parent
3d1a647263
commit
73da13fa66
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import {connect} from 'react-redux';
|
|||
|
||||
import {getTeams, addUserToTeam} from '@mm-redux/actions/teams';
|
||||
import {getTheme} from '@mm-redux/selectors/entities/preferences';
|
||||
import {getJoinableTeams} from '@mm-redux/selectors/entities/teams';
|
||||
import {getSortedJoinableTeams} from '@mm-redux/selectors/entities/teams';
|
||||
import {getCurrentUser} from '@mm-redux/selectors/entities/users';
|
||||
|
||||
import {logout} from 'app/actions/views/user';
|
||||
|
|
@ -25,7 +25,7 @@ function mapStateToProps(state) {
|
|||
currentUserIsGuest,
|
||||
isLandscape: isLandscape(state),
|
||||
teamsRequest: state.requests.teams.getTeams,
|
||||
teams: getJoinableTeams(state),
|
||||
teams: getSortedJoinableTeams(state, currentUser.locale),
|
||||
theme: getTheme(state),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue