diff --git a/src/components/groups/views/GroupInformationView.tsx b/src/components/groups/views/GroupInformationView.tsx index 3916a29d..da6bdc83 100644 --- a/src/components/groups/views/GroupInformationView.tsx +++ b/src/components/groups/views/GroupInformationView.tsx @@ -47,7 +47,7 @@ export const GroupInformationView: FC = props => { if(isRealOwner) return 'group.youareowner'; - if(groupInformation.type === GroupType.PRIVATE) return ''; + if(groupInformation.type === GroupType.PRIVATE && groupInformation.membershipType !== GroupMembershipType.MEMBER) return ''; if(groupInformation.membershipType === GroupMembershipType.MEMBER) return 'group.leave'; @@ -135,7 +135,7 @@ export const GroupInformationView: FC = props => handleAction('furniture') }>{ LocalizeText('group.buyfurni') } handleAction('popular_groups') }>{ LocalizeText('group.showgroups') } - { (groupInformation.type !== GroupType.PRIVATE) && + { (groupInformation.type !== GroupType.PRIVATE || groupInformation.type === GroupType.PRIVATE && groupInformation.membershipType === GroupMembershipType.MEMBER) && }