diff --git a/src/components/groups/views/information/GroupInformationView.tsx b/src/components/groups/views/information/GroupInformationView.tsx index fdb7bd24..1cd8547c 100644 --- a/src/components/groups/views/information/GroupInformationView.tsx +++ b/src/components/groups/views/information/GroupInformationView.tsx @@ -105,49 +105,47 @@ export const GroupInformationView: FC = props => if(!groupInformation) return null; return ( - <> - - - - - - - handleAction('members') }>{ LocalizeText('group.membercount', [ 'totalMembers' ], [ groupInformation.membersCount.toString() ]) } - { (groupInformation.pendingRequestsCount > 0) && - handleAction('members_pending') }>{ LocalizeText('group.pendingmembercount', [ 'amount' ], [ groupInformation.pendingRequestsCount.toString() ]) } } - { groupInformation.isOwner && - handleAction('manage') }>{ LocalizeText('group.manage') } } - - { getRoleIcon() } + + + + + + + handleAction('members') }>{ LocalizeText('group.membercount', [ 'totalMembers' ], [ groupInformation.membersCount.toString() ]) } + { (groupInformation.pendingRequestsCount > 0) && + handleAction('members_pending') }>{ LocalizeText('group.pendingmembercount', [ 'amount' ], [ groupInformation.pendingRequestsCount.toString() ]) } } + { groupInformation.isOwner && + handleAction('manage') }>{ LocalizeText('group.manage') } } - - - - - { groupInformation.title } - - - { groupInformation.canMembersDecorate && - } - + { getRoleIcon() } + + + + + + { groupInformation.title } + + + { groupInformation.canMembersDecorate && + } - { LocalizeText('group.created', ['date', 'owner'], [groupInformation.createdAt, groupInformation.ownerName]) } - - { groupInformation.description } - - - - handleAction('homeroom') }>{ LocalizeText('group.linktobase') } - handleAction('furniture') }>{ LocalizeText('group.buyfurni') } - { LocalizeText('group.showgroups') } - - { (groupInformation.type !== GroupType.PRIVATE) && - } + + { LocalizeText('group.created', ['date', 'owner'], [groupInformation.createdAt, groupInformation.ownerName]) } + { groupInformation.description } - - + + + handleAction('homeroom') }>{ LocalizeText('group.linktobase') } + handleAction('furniture') }>{ LocalizeText('group.buyfurni') } + { LocalizeText('group.showgroups') } + + { (groupInformation.type !== GroupType.PRIVATE) && + } + + + ); };