From cc479f39a7b8dc3285b457ebcf2b845b77b3fad2 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 2 Jul 2024 19:28:02 +0530 Subject: [PATCH] [WEB-1808] style: fix `settings` highlight on app sidebar. (#4995) --- web/core/constants/dashboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/constants/dashboard.ts b/web/core/constants/dashboard.ts index 056941ef9e..8ffc6f38e4 100644 --- a/web/core/constants/dashboard.ts +++ b/web/core/constants/dashboard.ts @@ -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, }, ];