Wrap chat settings in feature flag

This commit is contained in:
Chewbacca 2022-11-17 11:53:34 -05:00
parent 72c26bc9bc
commit ae0082ad53

View file

@ -101,6 +101,9 @@ const Settings = () => {
</CardBody> </CardBody>
</> </>
)} )}
{features.chats ? (
<>
<CardHeader> <CardHeader>
<CardTitle title='Direct Messages' /> <CardTitle title='Direct Messages' />
</CardHeader> </CardHeader>
@ -108,6 +111,8 @@ const Settings = () => {
<CardBody> <CardBody>
<MessagesSettings /> <MessagesSettings />
</CardBody> </CardBody>
</>
) : null}
<CardHeader> <CardHeader>
<CardTitle title={intl.formatMessage(messages.preferences)} /> <CardTitle title={intl.formatMessage(messages.preferences)} />