mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix lovelace reload button on error page (#4557)
Fixes https://github.com/home-assistant/home-assistant-polymer/issues/3107
This commit is contained in:
parent
2103866c48
commit
5bfacb3bf0
@ -80,11 +80,9 @@ class LovelacePanel extends LitElement {
|
|||||||
title="${this.hass!.localize("domain.lovelace")}"
|
title="${this.hass!.localize("domain.lovelace")}"
|
||||||
.error="${this._errorMsg}"
|
.error="${this._errorMsg}"
|
||||||
>
|
>
|
||||||
<mwc-button on-click="_forceFetchConfig"
|
<mwc-button raised @click=${this._forceFetchConfig}>
|
||||||
>${this.hass!.localize(
|
${this.hass!.localize("ui.panel.lovelace.reload_lovelace")}
|
||||||
"ui.panel.lovelace.reload_lovelace"
|
</mwc-button>
|
||||||
)}</mwc-button
|
|
||||||
>
|
|
||||||
</hass-error-screen>
|
</hass-error-screen>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user