diff --git a/frontend/src/component/project/Project/Project.tsx b/frontend/src/component/project/Project/Project.tsx index f42d8ecce851..5b668ff22d43 100644 --- a/frontend/src/component/project/Project/Project.tsx +++ b/frontend/src/component/project/Project/Project.tsx @@ -70,6 +70,7 @@ const StyledBadge = styled(Badge)(({ theme }) => ({ interface ITab { title: string; path: string; + ossPath?: string; name: string; flag?: keyof UiFlags; new?: boolean; @@ -180,7 +181,8 @@ export const Project = () => { }, { title: 'Project settings', - path: `${basePath}/settings${isOss() ? '/environments' : ''}`, + path: `${basePath}/settings`, + ossPath: `${basePath}/settings/api-access`, name: 'settings', }, ]; @@ -327,7 +329,11 @@ export const Project = () => { }, }); } - navigate(tab.path); + navigate( + isOss() && tab.ossPath + ? tab.ossPath + : tab.path, + ); }} data-testid={`TAB_${tab.title}`} iconPosition={