mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +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),
|
timeOut.after(0),
|
||||||
() => {
|
() => {
|
||||||
if (
|
if (
|
||||||
!this.cloudStatus.logged_in &&
|
!this.cloudStatus ||
|
||||||
!NOT_LOGGED_IN_URLS.includes(route.path)
|
(!this.cloudStatus.logged_in &&
|
||||||
|
!NOT_LOGGED_IN_URLS.includes(route.path))
|
||||||
) {
|
) {
|
||||||
this.navigate("/config/cloud/login", true);
|
this.navigate("/config/cloud/login", true);
|
||||||
} else if (
|
} else if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user