Allow closing of favorited GMs (#6700)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
fafeadf8ae
Коммит
98844449b0
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user