improved dev experience, fixed css order

This commit is contained in:
Wyatt Johnson
2018-05-09 13:56:05 -06:00
parent eda9a0cadf
commit 4426be5f39
19 changed files with 158 additions and 95 deletions
+6 -2
View File
@@ -94,9 +94,13 @@ const createResolveFactory = (() => {
module.exports = async (req, res, next) => {
try {
// Attach the custom css url.
const { customCssUrl } = await SettingsService.select('customCssUrl');
// Attach the custom css url and organization name.
const { customCssUrl, organizationName } = await SettingsService.select(
'customCssUrl',
'organizationName'
);
res.locals.customCssUrl = customCssUrl;
res.locals.organizationName = organizationName;
} catch (err) {
console.warn(err);
}