Reset path on icon change (#5790)

This commit is contained in:
Paulus Schoutsen 2020-05-07 03:37:14 -07:00 committed by GitHub
parent 71492d0467
commit eba7cedaa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,7 @@ export class HaIcon extends LitElement {
protected updated(changedProps: PropertyValues) {
if (changedProps.has("icon")) {
this._path = undefined;
this._loadIcon();
}
}