Soham Parekh 3 лет назад
Родитель
Сommit
51870bb5a0
1 измененных файлов с 1 добавлено и 1 удалено
  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