Change default value for custom css to empty string
This commit is contained in:
parent
3dede083cd
commit
660f36e584
|
@ -44,7 +44,7 @@ module.exports = async function(req) {
|
||||||
facebook: baseUrl + '/' + assets.get('send-fb.jpg'),
|
facebook: baseUrl + '/' + assets.get('send-fb.jpg'),
|
||||||
twitter: baseUrl + '/' + assets.get('send-twitter.jpg'),
|
twitter: baseUrl + '/' + assets.get('send-twitter.jpg'),
|
||||||
wordmark: assets.get('wordmark.svg') + '#logo',
|
wordmark: assets.get('wordmark.svg') + '#logo',
|
||||||
custom_css: assets.get('undefined')
|
custom_css: ''
|
||||||
};
|
};
|
||||||
Object.keys(uiAssets).forEach(index => {
|
Object.keys(uiAssets).forEach(index => {
|
||||||
if (config.ui_custom_assets[index] !== '')
|
if (config.ui_custom_assets[index] !== '')
|
||||||
|
|
Loading…
Reference in New Issue