Explorar el Código

hotfix: enable infra

Soham Parekh hace 3 años
padre
commit
51870bb5a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/main/home/sidebar/Sidebar.tsx

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

@@ -116,7 +116,7 @@ class Sidebar extends Component<PropsType, StateType> {
           </NavButton>
           {currentProject &&
             currentProject.managed_infra_enabled &&
-            user?.isPorterUser && (
+            (user?.isPorterUser || [6683].includes(currentProject.id)) && (
               <NavButton path={"/infrastructure"}>
                 <i className="material-icons">build_circle</i>
                 Infrastructure