diff --git a/webapp/components/channel_header.jsx b/webapp/components/channel_header.jsx index c05033b51c..6ce56ab4e7 100644 --- a/webapp/components/channel_header.jsx +++ b/webapp/components/channel_header.jsx @@ -499,14 +499,14 @@ export default class ChannelHeader extends React.Component { ); - dropdownContents.push( -
- ); - if (!ChannelStore.isDefault(channel)) { + dropdownContents.push( + + ); + dropdownContents.push( - ); - const deleteOption = ( + ); + dropdownContents.push( - ); - const canLeave = channel.type === Constants.PRIVATE_CHANNEL ? this.state.userCount > 1 : true; if (!ChannelStore.isDefault(channel) && canLeave) { + dropdownContents.push( + + ); + dropdownContents.push(