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/sidebar_right_menu.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/sidebar_right_menu.jsx')
-rw-r--r-- | webapp/components/sidebar_right_menu.jsx | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/webapp/components/sidebar_right_menu.jsx b/webapp/components/sidebar_right_menu.jsx index 05e2054ea..7c5e895e8 100644 --- a/webapp/components/sidebar_right_menu.jsx +++ b/webapp/components/sidebar_right_menu.jsx @@ -101,15 +101,15 @@ export default class SidebarRightMenu extends React.Component { if (isSystemAdmin && !Utils.isMobile()) { consoleLink = ( <li> - <a - href={'/admin_console'} + <Link + to={'/admin_console'} > <i className='fa fa-wrench'></i> <FormattedMessage id='sidebar_right_menu.console' defaultMessage='System Console' /> - </a> + </Link> </li> ); } @@ -127,16 +127,16 @@ export default class SidebarRightMenu extends React.Component { if (global.window.mm_config.HelpLink) { helpLink = ( <li> - <a + <Link target='_blank' - href={global.window.mm_config.HelpLink} + to={global.window.mm_config.HelpLink} > <i className='fa fa-question'></i> <FormattedMessage id='sidebar_right_menu.help' defaultMessage='Help' /> - </a> + </Link> </li> ); } @@ -145,16 +145,16 @@ export default class SidebarRightMenu extends React.Component { if (global.window.mm_config.ReportAProblemLink) { reportLink = ( <li> - <a + <Link target='_blank' - href={global.window.mm_config.ReportAProblemLink} + to={global.window.mm_config.ReportAProblemLink} > <i className='fa fa-phone'></i> <FormattedMessage id='sidebar_right_menu.report' defaultMessage='Report a Problem' /> - </a> + </Link> </li> ); } @@ -164,10 +164,12 @@ export default class SidebarRightMenu extends React.Component { id='sidebar-menu' > <div className='team__header theme'> - <a + <Link className='team__name' - href='/channels/town-square' - >{teamDisplayName}</a> + to='/channels/town-square' + > + {teamDisplayName} + </Link> </div> <div className='nav-pills__container'> |