Make sure rebuilt cards show up in panel views (#7535)

This commit is contained in:
Thomas Lovén 2020-10-30 14:48:39 +01:00 committed by GitHub
parent 9b22b1e499
commit 01fe5dd2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,10 @@ export class PanelView extends LitElement implements LovelaceViewElement {
);
}
if (changedProperties.has("cards")) {
this._createCard();
}
if (!changedProperties.has("lovelace")) {
return;
}