The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/admin/settings/groups/GenericGroupPage.js

17 lines
393 B

import React from 'react';
import { GroupPage } from '../GroupPage';
import { Section } from '../Section';
export function GenericGroupPage({ group }) {
const solo = group.sections.length === 1;
return <GroupPage group={group}>
{group.sections.map((sectionName) => <Section
key={sectionName}
groupId={group._id}
sectionName={sectionName}
solo={solo}
/>)}
</GroupPage>;
}