mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
update when family/variant changes; fixes #438
This commit is contained in:
@@ -165,7 +165,7 @@ export default class WaIcon extends WebAwesomeElement {
|
||||
}
|
||||
}
|
||||
|
||||
@watch(['name', 'src', 'library'])
|
||||
@watch(['family', 'name', 'library', 'variant', 'src'])
|
||||
async setIcon() {
|
||||
const { url, fromLibrary } = this.getIconSource();
|
||||
const library = fromLibrary ? getIconLibrary(this.library) : undefined;
|
||||
|
||||
Reference in New Issue
Block a user