forked from github/plane
[WEB-536] fix: analytics highlight while switching between scope_and_demand
and custom
tab. (#3767)
This commit is contained in:
parent
e0a4d7a12a
commit
5571d42e10
@ -256,7 +256,7 @@ export const SIDEBAR_MENU_ITEMS: {
|
|||||||
label: "Analytics",
|
label: "Analytics",
|
||||||
href: `/analytics`,
|
href: `/analytics`,
|
||||||
access: EUserWorkspaceRoles.MEMBER,
|
access: EUserWorkspaceRoles.MEMBER,
|
||||||
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/analytics`,
|
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/analytics`),
|
||||||
Icon: BarChart2,
|
Icon: BarChart2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user