diff --git a/apps/web/lib/features/team/user-team-card/index.tsx b/apps/web/lib/features/team/user-team-card/index.tsx index 96f2f8db9..5dbcb5f38 100644 --- a/apps/web/lib/features/team/user-team-card/index.tsx +++ b/apps/web/lib/features/team/user-team-card/index.tsx @@ -174,6 +174,7 @@ export function UserTeamCard({ ? '' : memberInfo.memberUser?.id ?? '' ); + setShowActivity(false); }} className={clsxm('h-6 w-6 absolute right-4 top-0 cursor-pointer p-[3px]')} > @@ -199,7 +200,9 @@ export function UserTeamCard({ {isManagerConnectedUser != 1 ? (

showActivityFilter('TICKET', memberInfo.member ?? null)} + onClick={() => { + showActivityFilter('TICKET', memberInfo.member ?? null); setUserDetailAccordion(''); + }} > {!showActivity ? ( @@ -251,7 +254,7 @@ export function UserTeamCard({

{menu}
{userDetailAccordion == memberInfo.memberUser?.id && - memberInfo.memberUser.id == profile.userProfile?.id ? ( + memberInfo.memberUser.id == profile.userProfile?.id && !showActivity? (
{canSeeActivity && (