diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-08-21 08:39:47 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-08-21 08:39:47 -0400 |
commit | 2a808a39cf49e0cb91d33b691183c518ef94c103 (patch) | |
tree | a06a066707484cbda3e7f9d3655d90cc3828b48f /web/react/components | |
parent | b476b59523fedf10eaee9cbf1911e88de855bdbd (diff) | |
parent | 925fe78c4f8b2203ae55830d14224cc59da00b61 (diff) | |
download | chat-2a808a39cf49e0cb91d33b691183c518ef94c103.tar.gz chat-2a808a39cf49e0cb91d33b691183c518ef94c103.tar.bz2 chat-2a808a39cf49e0cb91d33b691183c518ef94c103.zip |
Merge pull request #432 from nickago/MM-1804
MM-1804 Updated navbar to more accurately mirror desktop preformance
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/navbar.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/react/components/navbar.jsx b/web/react/components/navbar.jsx index 3e0a66e92..06c373e5d 100644 --- a/web/react/components/navbar.jsx +++ b/web/react/components/navbar.jsx @@ -152,6 +152,8 @@ module.exports = React.createClass({ var channelMenuDropdown = null; if (channel) { + var viewInfoOption = <li role='presentation'><a role='menuitem' data-toggle='modal' data-target='#channel_info' data-channelid={channel.id} href='#'>View Info</a></li> + var addMembersOption = null; if (!isDirect && !ChannelStore.isDefault(channel)) { addMembersOption = <li role='presentation'><a role='menuitem' data-toggle='modal' data-target='#channel_invite' href='#'>Add Members</a></li>; @@ -192,6 +194,7 @@ module.exports = React.createClass({ <span className='glyphicon glyphicon-chevron-down header-dropdown__icon'></span> </a> <ul className='dropdown-menu' role='menu' aria-labelledby='channel_header_dropdown'> + {viewInfoOption} {addMembersOption} {manageMembersOption} {setChannelDescriptionOption} |