diff --git a/background/style-manager.js b/background/style-manager.js index 260a5a47..81336887 100644 --- a/background/style-manager.js +++ b/background/style-manager.js @@ -331,7 +331,10 @@ const styleManager = (() => { ); } if (id) { - return {[id]: cache.sections[id]}; + if (cache.sections[id]) { + return {[id]: cache.sections[id]}; + } + return {}; } return cache.sections;