summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-06 16:14:24 -0500
committerCorey Hulen <corey@hulen.com>2017-03-06 16:14:24 -0500
commitd45b927e42184066554a4112a09429417a7cf0cf (patch)
treefcde1e7eab8b8a5b37872f5474a0d33c0eca009b
parent944e74feb87d9a0acbe66c0c08a74ad450ea79bd (diff)
downloadchat-d45b927e42184066554a4112a09429417a7cf0cf.tar.gz
chat-d45b927e42184066554a4112a09429417a7cf0cf.tar.bz2
chat-d45b927e42184066554a4112a09429417a7cf0cf.zip
Fix channel switching ALT + UP/DOWN shortcut (#5660)
-rw-r--r--webapp/components/sidebar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx
index ce584d477..08d80d363 100644
--- a/webapp/components/sidebar.jsx
+++ b/webapp/components/sidebar.jsx
@@ -349,7 +349,7 @@ export default class Sidebar extends React.Component {
}
getDisplayedChannels() {
- return this.state.favoriteChannels.concat(this.state.publicChannels).concat(this.state.privateChannels).concat(this.state.directAndGroupChannels).concat(this.state.directNonTeamChannels);
+ return this.state.favoriteChannels.concat(this.state.publicChannels).concat(this.state.privateChannels).concat(this.state.directAndGroupChannels);
}
handleLeaveDirectChannel(e, channel) {