diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-24 12:45:12 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-24 12:45:12 -0400 |
commit | c64b12e27a4218f27bfdfd935fd64ea43f0e6e26 (patch) | |
tree | 625baa2a878d1ad9992085649a998fd5f9088094 /webapp/components/admin_console/admin_navbar_dropdown.jsx | |
parent | 998ce12133358eab587702e258edefbd437f86ba (diff) | |
parent | d6a6668a39db2f78d59919686c5d7b901888da36 (diff) | |
download | chat-c64b12e27a4218f27bfdfd935fd64ea43f0e6e26.tar.gz chat-c64b12e27a4218f27bfdfd935fd64ea43f0e6e26.tar.bz2 chat-c64b12e27a4218f27bfdfd935fd64ea43f0e6e26.zip |
Merge pull request #2529 from mattermost/plt-2383
PLT-2383 Fixed system console login page flash.
Diffstat (limited to 'webapp/components/admin_console/admin_navbar_dropdown.jsx')
-rw-r--r-- | webapp/components/admin_console/admin_navbar_dropdown.jsx | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/webapp/components/admin_console/admin_navbar_dropdown.jsx b/webapp/components/admin_console/admin_navbar_dropdown.jsx index 56b78448a..527f97959 100644 --- a/webapp/components/admin_console/admin_navbar_dropdown.jsx +++ b/webapp/components/admin_console/admin_navbar_dropdown.jsx @@ -63,8 +63,8 @@ export default class AdminNavbarDropdown extends React.Component { role='menu' > <li> - <a - href={Utils.getWindowLocationOrigin() + '/' + this.state.currentTeam.name} + <Link + to={Utils.getWindowLocationOrigin() + '/' + this.state.currentTeam.name + '/channels/town-square'} > <FormattedMessage id='admin.nav.switch' @@ -73,7 +73,7 @@ export default class AdminNavbarDropdown extends React.Component { display_name: this.state.currentTeam.display_name }} /> - </a> + </Link> </li> <li> <Link to={Utils.getTeamURLFromAddressBar() + '/logout'}> @@ -83,29 +83,6 @@ export default class AdminNavbarDropdown extends React.Component { /> </Link> </li> - <li className='divider'></li> - <li> - <a - target='_blank' - href='/static/help/help.html' - > - <FormattedMessage - id='admin.nav.help' - defaultMessage='Help' - /> - </a> - </li> - <li> - <a - target='_blank' - href='/static/help/report_problem.html' - > - <FormattedMessage - id='admin.nav.report' - defaultMessage='Report a Problem' - /> - </a> - </li> </ul> </li> </ul> |