pull/580/head
Cory LaViska 2021-11-05 11:53:53 -04:00
rodzic 7177b9bf82
commit 6aca68824a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -543,7 +543,7 @@ If you want to change the icons Shoelace uses internally, you can register an ic
item.setAttribute('data-name', i.name);
item.setAttribute('data-terms', [i.name, i.title, ...(i.tags || []), ...(i.categories || [])].join(' '));
item.innerHTML = `
<svg width="1em" height="1em">
<svg width="1em" height="1em" fill="currentColor">
<use xlink:href="/assets/icons/sprite.svg#${i.name}"></use>
</svg>
`;