From 90035c066f1339c86b8b13099147e300aed4795d Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sun, 17 Mar 2019 08:12:32 +0000 Subject: [PATCH] Fix some SCSS variables not being set --- client/src/modules/thememanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/modules/thememanager.js b/client/src/modules/thememanager.js index f97e4778e..d0838abaa 100644 --- a/client/src/modules/thememanager.js +++ b/client/src/modules/thememanager.js @@ -113,7 +113,7 @@ export default class ThemeManager extends ContentManager { const name = setting.id.replace(/[^a-zA-Z0-9-]/g, '-').replace(/--/g, '-'); const scss = await setting.toSCSS(); - if (scss) return [name, scss]; + if (typeof scss !== 'undefined') return [name, scss]; } /**