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

This commit is contained in:
Michael Telatynski 2021-07-15 08:29:50 +01:00
parent 90d380c8ae
commit 80f9793c73

View file

@ -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} />
)) } )) }