You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
only show space beta tweaks if you have the beta enabled as they do nothing otherwise
This commit is contained in:
@@ -105,7 +105,7 @@ const BetaCard = ({ title: titleOverride, featureId }: IProps) => {
|
|||||||
</div>
|
</div>
|
||||||
<img src={image} alt="" />
|
<img src={image} alt="" />
|
||||||
</div>
|
</div>
|
||||||
{ extraSettings && <div className="mx_BetaCard_relatedSettings">
|
{ extraSettings && value && <div className="mx_BetaCard_relatedSettings">
|
||||||
{ extraSettings.map(key => (
|
{ extraSettings.map(key => (
|
||||||
<SettingsFlag key={key} name={key} level={SettingLevel.DEVICE} />
|
<SettingsFlag key={key} name={key} level={SettingLevel.DEVICE} />
|
||||||
)) }
|
)) }
|
||||||
|
|||||||
Reference in New Issue
Block a user