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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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';
            },
        },
    },