only show space beta tweaks if you have the beta enabled as they do nothing otherwise

pull/21833/head
Michael Telatynski 2021-07-15 08:29:50 +01:00
parent 90d380c8ae
commit 80f9793c73
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ const BetaCard = ({ title: titleOverride, featureId }: IProps) => {
</div>
<img src={image} alt="" />
</div>
{ extraSettings && <div className="mx_BetaCard_relatedSettings">
{ extraSettings && value && <div className="mx_BetaCard_relatedSettings">
{ extraSettings.map(key => (
<SettingsFlag key={key} name={key} level={SettingLevel.DEVICE} />
)) }