diff --git a/js/state/siteSettings.js b/js/state/siteSettings.js index 6e67bbb73eb..ca3fde9bce3 100644 --- a/js/state/siteSettings.js +++ b/js/state/siteSettings.js @@ -50,7 +50,7 @@ module.exports.activeSettings = (siteSettings, appState, appConfig) => { Object.keys(appConfig.resourceNames).forEach((resourceName) => { let name = appConfig.resourceNames[resourceName] settings[name] = (() => { - if (settings.shieldsUp === false && appConfig[resourceName].shields !== false) { + if (settings.shieldsUp === false && appConfig[name].shields !== false) { return false }