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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user