diff --git a/manage/manage.js b/manage/manage.js index 2a65607b..e0530711 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -204,10 +204,7 @@ function createStyleElement({style, name}) { return entry; function shouldShowConfig() { - if (!style.usercssData) { - return false; - } - return Object.keys(style.usercssData.vars).length > 0; + return style.usercssData && Object.keys(style.usercssData.vars).length > 0; } }