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,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)} />
|
||||||
|
|
Loading…
Reference in a new issue