mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix an uncaught error in ha-config-entities (#22587)
This commit is contained in:
parent
9fff3adbfb
commit
d175e84623
@ -1069,8 +1069,7 @@ ${
|
|||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
changedProps.has("_entitySources") ||
|
changedProps.has("_entitySources") ||
|
||||||
(changedProps.has("hass") && !oldHass) ||
|
(changedProps.has("hass") && (!oldHass || !oldHass.states[entityId]))
|
||||||
!oldHass.states[entityId]
|
|
||||||
) {
|
) {
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user