[WEB-1808] style: fix settings highlight on app sidebar. (#4995)

This commit is contained in:
Prateek Shourya
2024-07-02 19:28:02 +05:30
committed by GitHub
parent b50df9ef99
commit cc479f39a7

View File

@@ -296,7 +296,7 @@ export const SIDEBAR_WORKSPACE_MENU_ITEMS: {
label: "Settings",
href: `/settings`,
access: EUserWorkspaceRoles.GUEST,
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/analytics/`),
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/settings/`),
Icon: Settings,
},
];