mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Don't block system_health if one value is null (#7644)
This commit is contained in:
parent
2a57ffa615
commit
67707fbc90
@ -71,7 +71,10 @@ class SystemHealthCard extends LitElement {
|
|||||||
for (const key of Object.keys(domainInfo.info)) {
|
for (const key of Object.keys(domainInfo.info)) {
|
||||||
let value: unknown;
|
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;
|
const info = domainInfo.info[key] as SystemCheckValueObject;
|
||||||
|
|
||||||
if (info.type === "pending") {
|
if (info.type === "pending") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user