Fix lovelace reload button on error page (#4557)

Fixes https://github.com/home-assistant/home-assistant-polymer/issues/3107
This commit is contained in:
Bram Kragten 2020-01-22 15:03:51 +01:00 committed by GitHub
parent 2103866c48
commit 5bfacb3bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,11 +80,9 @@ class LovelacePanel extends LitElement {
title="${this.hass!.localize("domain.lovelace")}"
.error="${this._errorMsg}"
>
<mwc-button on-click="_forceFetchConfig"
>${this.hass!.localize(
"ui.panel.lovelace.reload_lovelace"
)}</mwc-button
>
<mwc-button raised @click=${this._forceFetchConfig}>
${this.hass!.localize("ui.panel.lovelace.reload_lovelace")}
</mwc-button>
</hass-error-screen>
`;
}