Commit 4d731e5c authored by Patrik Meijer's avatar Patrik Meijer
Browse files

Fix log warning issues by returning 'none' for empty background style

parent 2ddcd247
......@@ -27,7 +27,7 @@ const DEFAULT_STYLES = [
content: 'data(attributes.name)',
'background-image': (ele) => {
const value = ele.data('registries').SVGIcon;
return (value && value.indexOf('<') === -1) ? `url(/assets/DecoratorSVG/${value})` : undefined;
return (value && value.indexOf('<') === -1) ? `url(/assets/DecoratorSVG/${value})` : 'none';
},
},
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment