1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 12:49:19 +00:00

Cache brand images (#17840)

This commit is contained in:
Steve Repsher
2023-10-25 03:28:28 -04:00
committed by GitHub
parent 80112bb662
commit 01f51f3247
26 changed files with 94 additions and 40 deletions

View File

@@ -282,7 +282,14 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
? html`
<ha-card outlined>
<div class="card-content">
${imageURL ? html`<img alt="" src=${imageURL} />` : ""}
${imageURL
? html`<img
alt=""
src=${imageURL}
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>`
: ""}
<div class="board-info">
<p class="primary-text">
${boardName ||