Clicking Linkerd logo on web UI redirects to /overview (#2253)

Fixes #2232

The Linkerd logo on the top left of the web UI is now wrapped in a
`react-router-dom` Link component so that clicking it redirects to `/overview`.
This commit is contained in:
Carol A. Scott 2019-02-11 13:18:10 -08:00 committed by GitHub
parent 4a5152e9e3
commit e1cead1c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class NavigationBase extends React.Component {
open={this.state.drawerOpen}>
<div className={classNames(classes.navToolbar)}>
<div className={classNames(classes.linkerdNavLogo, {[classes.linkerdNavLogoClose]: !this.state.drawerOpen} )}>
{linkerdWordLogo}
<Link to="/overview">{linkerdWordLogo}</Link>
</div>
<IconButton className="drawer-toggle-btn" onClick={this.handleDrawerClick}>
{this.state.drawerOpen ? <ChevronLeftIcon /> : <MenuIcon />}