mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Ensure energy card titles always displayed (#18432)
This commit is contained in:
parent
f1748e4dd5
commit
4e9b118728
@ -48,6 +48,9 @@ class PanelEnergy extends LitElement {
|
|||||||
if (oldHass?.locale !== this.hass.locale) {
|
if (oldHass?.locale !== this.hass.locale) {
|
||||||
this._setLovelace();
|
this._setLovelace();
|
||||||
}
|
}
|
||||||
|
if (oldHass && oldHass.localize !== this.hass.localize) {
|
||||||
|
this._reloadView();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user