Guard against non OS installation (#12427)

This commit is contained in:
Joakim Sørensen 2022-04-26 12:18:43 +02:00 committed by GitHub
parent 145e5d7bc6
commit 95d494a54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class HaConfigInfo extends LitElement {
Home Assistant Supervisor ${this._hassioInfo.supervisor}
</h2>`
: ""}
${this._osInfo
${this._osInfo?.version
? html`<h2>Home Assistant OS ${this._osInfo.version}</h2>`
: ""}
${this._hostInfo