Add favorite icon to gallery

This commit is contained in:
Nick Mowen
2022-03-20 17:41:47 -06:00
parent ca837774bf
commit 57afd5cdda
3 changed files with 13 additions and 3 deletions
+4 -1
View File
@@ -218,7 +218,10 @@ export class FrigateCardGalleryCore extends LitElement {
}
stopEventFromActivatingCardWideActions(ev);
}}
/>`
/>${child.frigate?.event?.retain_indefinitely ? html`<ha-icon
class="favorite"
icon="mdi:star"
/>` : ``}`
: ``}
</div>
</li>`,