From 3cb4808ed85c0344f417947b99f83b505dc1ab18 Mon Sep 17 00:00:00 2001 From: namushka Date: Thu, 29 Feb 2024 18:27:49 +0300 Subject: [PATCH] fixed header menu in InsideGroup --- packages/client/src/pages/Home/Section/Header/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/client/src/pages/Home/Section/Header/index.js b/packages/client/src/pages/Home/Section/Header/index.js index 5ab5ebaf3f..755fc03623 100644 --- a/packages/client/src/pages/Home/Section/Header/index.js +++ b/packages/client/src/pages/Home/Section/Header/index.js @@ -272,7 +272,10 @@ const SectionHeaderContent = (props) => { const isInsideGroup = !!groupId; const isAccountsPage = location.pathname.includes("/accounts"); - const isGroupsPage = location.pathname.includes("/accounts/groups"); + const isGroupsPage = + location.pathname.includes("/accounts/groups") && !isInsideGroup; + + console.log("isGroupsPage", isGroupsPage); const isSettingsPage = location.pathname.includes("/settings");