Adding favourite channels to ALT and ALT-SHIFT UP DOWN shortcuts (#4450)

This commit is contained in:
Christopher Speller
2016-11-04 11:59:27 -04:00
committed by Harrison Healey
parent e6f7a47c99
commit aa9e09c674

View File

@@ -309,7 +309,7 @@ export default class Sidebar extends React.Component {
}
getDisplayedChannels() {
return this.state.publicChannels.concat(this.state.privateChannels).concat(this.state.directChannels).concat(this.state.directNonTeamChannels);
return this.state.favoriteChannels.concat(this.state.publicChannels).concat(this.state.privateChannels).concat(this.state.directChannels).concat(this.state.directNonTeamChannels);
}
handleLeaveDirectChannel(e, channel) {