Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fixed the bug with the tab indicators

Vladyslav Matsiiakoea5811c24c3f
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx
index 1e13a6cb0e..f29b8aaf25 100644
--- a/frontend/src/layouts/AppLayout/AppLayout.tsx
+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx
@@ -274,7 +274,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
<Link href={`/dashboard/${currentWorkspace?._id}`} passHref>
<a>
<MenuItem
- isSelected={router.asPath === `/dashboard/${currentWorkspace?._id}`}
+ isSelected={router.asPath.includes(`/dashboard/${currentWorkspace?._id}`)}
icon={<FontAwesomeIcon icon={faKey} size="lg" />}
>
{t('nav:menu.secrets')}