فهرست منبع

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

Alexander Belanger 4 سال پیش
والد
کامیت
8918c4e050
1فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  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>