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,13 +101,18 @@ const Settings = () => {
</CardBody>
</>
)}
<CardHeader>
<CardTitle title='Direct Messages' />
</CardHeader>
<CardBody>
<MessagesSettings />
</CardBody>
{features.chats ? (
<>
<CardHeader>
<CardTitle title='Direct Messages' />
</CardHeader>
<CardBody>
<MessagesSettings />
</CardBody>
</>
) : null}
<CardHeader>
<CardTitle title={intl.formatMessage(messages.preferences)} />