mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Icon improvements:
- Put the default resolver back, otherwise default icons can't be found
This commit is contained in:
parent
7876fbf710
commit
018dd11bd2
@ -9,6 +9,15 @@ import {egw} from "../../jsapi/egw_global";
|
||||
* Here is the common overrides and customisations for Shoelace
|
||||
*/
|
||||
|
||||
/**
|
||||
* Make shoelace icons available
|
||||
*/
|
||||
registerIconLibrary('default', {
|
||||
resolver: name =>
|
||||
{
|
||||
return typeof egw !== "undefined" ? `${egw.webserverUrl}/node_modules/@shoelace-style/shoelace/dist/assets/icons/${name}.svg` : ''
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
* Register egw images as an icon library
|
||||
|
Loading…
Reference in New Issue
Block a user