Skip to content
Snippets Groups Projects
Commit 1a1dca50 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Use getAssetURL for assets in vpu-icon

parent d24130d0
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class Icon extends LitElement {
}
render() {
let iconPath = 'local/vpu-common/icons/' + this.name + '.json';
let iconPath = commonUtils.getAssetURL('local/vpu-common/icons/' + this.name + '.json');
let svgPath = fetch(iconPath)
.then(response => {
if (!response.ok) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment