mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Fixed comments
This commit is contained in:
parent
f7ae5b91bf
commit
0afc7c184f
@ -42,8 +42,12 @@ class HaLogbook extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected updated(_changedProps: PropertyValues) {
|
protected updated(_changedProps: PropertyValues) {
|
||||||
|
const oldHass = _changedProps.get("hass") as HomeAssistant | undefined;
|
||||||
|
|
||||||
|
if (oldHass === undefined || oldHass.language !== this.hass.language) {
|
||||||
this._rtl = computeRTL(this.hass);
|
this._rtl = computeRTL(this.hass);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
if (!this.entries?.length) {
|
if (!this.entries?.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user