mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 05:46:35 +00:00
Reset path on icon change (#5790)
This commit is contained in:
parent
71492d0467
commit
eba7cedaa6
@ -73,6 +73,7 @@ export class HaIcon extends LitElement {
|
||||
|
||||
protected updated(changedProps: PropertyValues) {
|
||||
if (changedProps.has("icon")) {
|
||||
this._path = undefined;
|
||||
this._loadIcon();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user