Skip to content

Commit

Permalink
Hide integration logo on device page when load error occurs (#22357)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysdabro authored Oct 17, 2024
1 parent f8b3a42 commit 08633c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/panels/config/devices/ha-config-device-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ export class HaConfigDevicePage extends LitElement {
})}
crossorigin="anonymous"
referrerpolicy="no-referrer"
@error=${this._onImageError}
@load=${this._onImageLoad}
/>
${domainToName(this.hass.localize, integration.domain)}
Expand Down

0 comments on commit 08633c1

Please sign in to comment.