mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
Fix for config undefined (#6102)
This commit is contained in:
parent
0d4c51f26e
commit
986f9d7633
@ -22,6 +22,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
||||
const oldHass = changedProperties.get("hass");
|
||||
if (
|
||||
!changedProperties.has("hass") ||
|
||||
!this.hass!.config ||
|
||||
oldHass?.config?.state === this.hass!.config.state
|
||||
) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user