LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds (#2471)
This commit is contained in:
parent
b4b10e17e8
commit
5e1db3497f
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import {connect} from 'react-redux';
|
|||
|
||||
import {General} from 'mattermost-redux/constants';
|
||||
import {
|
||||
getFavoriteChannelIds,
|
||||
getSortedFavoriteChannelIds,
|
||||
getSortedUnreadChannelIds,
|
||||
getOrderedChannelIds,
|
||||
} from 'mattermost-redux/selectors/entities/channels';
|
||||
|
|
@ -39,7 +39,7 @@ function mapStateToProps(state) {
|
|||
const isSystemAdmin = checkIsSystemAdmin(roles);
|
||||
const sidebarPrefs = getSidebarPreferences(state);
|
||||
const unreadChannelIds = getSortedUnreadChannelIds(state, null);
|
||||
const favoriteChannelIds = getFavoriteChannelIds(state);
|
||||
const favoriteChannelIds = getSortedFavoriteChannelIds(state);
|
||||
const orderedChannelIds = filterZeroUnreads(getOrderedChannelIds(
|
||||
state,
|
||||
null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue