mirror of https://github.com/linkerd/linkerd2.git
Fix link to deployments from autocomplete not including pathPrefix (#209)
Signed-off-by: Risha Mars <mars@buoyant.io>
This commit is contained in:
parent
b861318e86
commit
8f63c2b7a5
|
@ -41,7 +41,7 @@ export default class Sidebar extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
onAutocompleteSelect(deployment) {
|
onAutocompleteSelect(deployment) {
|
||||||
let pathToDeploymentPage = `/deployment?deploy=${deployment}`;
|
let pathToDeploymentPage = `${this.props.pathPrefix}/deployment?deploy=${deployment}`;
|
||||||
this.props.history.push(pathToDeploymentPage);
|
this.props.history.push(pathToDeploymentPage);
|
||||||
this.setState({
|
this.setState({
|
||||||
autocompleteValue: '',
|
autocompleteValue: '',
|
||||||
|
|
Loading…
Reference in New Issue