diff --git a/src/renderer/index.js b/src/renderer/index.js index 46733c02..f262bc56 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -934,8 +934,8 @@ const app = new Vue({ } }, getThemeDirective(directive = "") { - if(typeof this.chrome.appliedTheme.info != "object") { - return + if(typeof this.chrome.appliedTheme.info.directives != "object") { + return "" } if(this.chrome.appliedTheme.info.directives[directive]) { return this.chrome.appliedTheme.info.directives[directive].value