From 67707fbc90de9ec89ea73aae1596167a0ce56f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 11 Nov 2020 11:49:10 +0100 Subject: [PATCH] Don't block system_health if one value is null (#7644) --- src/panels/config/info/system-health-card.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panels/config/info/system-health-card.ts b/src/panels/config/info/system-health-card.ts index 775602dd6d..765725b133 100644 --- a/src/panels/config/info/system-health-card.ts +++ b/src/panels/config/info/system-health-card.ts @@ -71,7 +71,10 @@ class SystemHealthCard extends LitElement { for (const key of Object.keys(domainInfo.info)) { let value: unknown; - if (typeof domainInfo.info[key] === "object") { + if ( + domainInfo.info[key] && + typeof domainInfo.info[key] === "object" + ) { const info = domainInfo.info[key] as SystemCheckValueObject; if (info.type === "pending") {