mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +00:00
Guard cloud info being null (#1788)
This commit is contained in:
parent
87fba75860
commit
1dcc645fec
@ -107,8 +107,9 @@ class HaConfigCloud extends NavigateMixin(PolymerElement) {
|
||||
timeOut.after(0),
|
||||
() => {
|
||||
if (
|
||||
!this.cloudStatus.logged_in &&
|
||||
!NOT_LOGGED_IN_URLS.includes(route.path)
|
||||
!this.cloudStatus ||
|
||||
(!this.cloudStatus.logged_in &&
|
||||
!NOT_LOGGED_IN_URLS.includes(route.path))
|
||||
) {
|
||||
this.navigate("/config/cloud/login", true);
|
||||
} else if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user