Explorar o código

Merge branch 'master' into belanger/hotfix-ecr-permissions

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
8918c4e050
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      dashboard/src/main/home/sidebar/Sidebar.tsx

+ 1 - 7
dashboard/src/main/home/sidebar/Sidebar.tsx

@@ -193,13 +193,7 @@ class Sidebar extends Component<PropsType, StateType> {
             Launch
           </NavButton>
           {currentProject && currentProject.managed_infra_enabled && (
-            <NavButton
-              onClick={() =>
-                currentView !== "infrastructure" &&
-                pushFiltered(this.props, "/infrastructure", ["project_id"])
-              }
-              selected={currentView === "infrastructure"}
-            >
+            <NavButton to={"/infrastructure"}>
               <i className="material-icons">build_circle</i>
               Infrastructure
             </NavButton>