|
|
@@ -8,6 +8,7 @@ import { ClusterType } from "shared/types";
|
|
|
|
|
|
import Drawer from "./Drawer";
|
|
|
import { RouteComponentProps, withRouter } from "react-router";
|
|
|
+import { pushFiltered } from "shared/routing";
|
|
|
|
|
|
type PropsType = RouteComponentProps & {
|
|
|
forceCloseDrawer: boolean;
|
|
|
@@ -172,7 +173,7 @@ class ClusterSection extends Component<PropsType, StateType> {
|
|
|
return (
|
|
|
<ClusterSelector isSelected={false}>
|
|
|
<LinkWrapper
|
|
|
- onClick={() => this.context.setCurrentModal("UpdateClusterModal")}
|
|
|
+ onClick={() => pushFiltered(this.props, "/cluster-dashboard", [])}
|
|
|
>
|
|
|
<ClusterIcon>
|
|
|
<i className="material-icons">device_hub</i>
|