diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx index 8363935107..7e0cf74d86 100644 --- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx @@ -288,14 +288,10 @@ export default class PreferencesUserSettingsTab extends React.Component { - return ; + const disabled = !SettingsStore.isEnabled(i); + return ; }); } @@ -343,7 +339,7 @@ export default class PreferencesUserSettingsTab extends React.Component { _t("Spaces") } - { this.renderGroup(PreferencesUserSettingsTab.SPACES_SETTINGS, SettingLevel.ACCOUNT, true) } + { this.renderGroup(PreferencesUserSettingsTab.SPACES_SETTINGS, SettingLevel.ACCOUNT) }