diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/sidebar.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index 9311c5dfd..f724d73db 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -654,7 +654,7 @@ export default class Sidebar extends React.Component { // create elements for all 4 types of channels const favoriteItems = this.state.favoriteChannels. map((channel, index, arr) => { - if (channel.type === Constants.DM_CHANNEL) { + if (channel.type === Constants.DM_CHANNEL || channel.type === Constants.GM_CHANNEL) { return this.createChannelElement(channel, index, arr, this.handleLeaveDirectChannel); } |