From 2c0c71d460e749e1cd0c905a663349c3af94bdeb Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 24 Mar 2017 20:42:37 +0000 Subject: PLT-5910: Fix Channel header menu in Town Square. (#5831) --- webapp/components/channel_header.jsx | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'webapp/components/channel_header.jsx') diff --git a/webapp/components/channel_header.jsx b/webapp/components/channel_header.jsx index c05033b51..6ce56ab4e 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(