Do not "load" forever if null is returned for release notes (#19478)

This commit is contained in:
Joakim Sørensen 2024-01-19 21:05:11 +01:00 committed by GitHub
parent 646c02d855
commit 319cf64977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ class MoreInfoUpdate extends LitElement {
: ""}
${supportsFeature(this.stateObj!, UpdateEntityFeature.RELEASE_NOTES) &&
!this._error
? !this._releaseNotes
? this._releaseNotes === undefined
? html`<div class="flex center">
<ha-circular-progress indeterminate></ha-circular-progress>
</div>`