diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 293fa51..c71ab04 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -414,15 +414,21 @@ const AccountRow: React.FC<{ }; const isBanned = account?.vacBanned || (account?.gameBans && account.gameBans > 0); - const isShared = account?._id.startsWith('shared_'); + + // Refined Shared Logic: + // 1. It was shared WITH you (starts with shared_) + // 2. OR you are the owner but you have shared it with at least one person + const isSharedWithYou = account?._id.startsWith('shared_'); + const hasSharedMembers = (account as any).sharedWith && (account as any).sharedWith.length > 0; + const showCommunityIcon = isSharedWithYou || hasSharedMembers; return ( - {isShared && ( - + {showCommunityIcon && ( + )}