Wrap chat settings in feature flag
This commit is contained in:
parent
72c26bc9bc
commit
ae0082ad53
1 changed files with 11 additions and 6 deletions
|
@ -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)} />
|
||||
|
|
Loading…
Reference in a new issue