fixed header menu in InsideGroup
This commit is contained in:
parent
84061fef5a
commit
3cb4808ed8
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user