mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 05:27:46 +00:00
Fix system health check (#2866)
* Fix system health check * Update src/panels/dev-info/system-health-card.ts Co-Authored-By: balloob <paulus@home-assistant.io>
This commit is contained in:
parent
c0896d173d
commit
82189ab3c6
@ -98,7 +98,7 @@ class SystemHealthCard extends LitElement {
|
||||
|
||||
private async _fetchInfo() {
|
||||
try {
|
||||
if (!("system_health" in this.hass!.config.components)) {
|
||||
if (!this.hass!.config.components.includes("system_health")) {
|
||||
throw new Error();
|
||||
}
|
||||
this._info = await fetchSystemHealthInfo(this.hass!);
|
||||
|
Loading…
x
Reference in New Issue
Block a user