diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-20 15:23:12 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-20 15:23:12 -0700 |
commit | 925fe78c4f8b2203ae55830d14224cc59da00b61 (patch) | |
tree | 795ae1fdc4d273c679aa034c7183e233f5e6588d /web/react/components | |
parent | 7d5d6ae5b09621f12947de7c28945a844db1ff85 (diff) | |
download | chat-925fe78c4f8b2203ae55830d14224cc59da00b61.tar.gz chat-925fe78c4f8b2203ae55830d14224cc59da00b61.tar.bz2 chat-925fe78c4f8b2203ae55830d14224cc59da00b61.zip |
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} |