diff --git a/src/settings/SettingsStore.js b/src/settings/SettingsStore.js index d9acc426bf..0122916bc3 100644 --- a/src/settings/SettingsStore.js +++ b/src/settings/SettingsStore.js @@ -567,7 +567,7 @@ export default class SettingsStore { const handlers = {}; for (const level of SETTINGS[settingName].supportedLevels) { if (!LEVEL_HANDLERS[level]) throw new Error("Unexpected level " + level); - handlers[level] = LEVEL_HANDLERS[level]; + if (SettingsStore.isLevelSupported(level)) handlers[level] = LEVEL_HANDLERS[level]; } // Always support 'default'