Allow live thumbnails to load recordings .

This commit is contained in:
Dermot Duffy
2024-02-03 14:23:49 -08:00
parent 3398670b44
commit 93a475c7f4
18 changed files with 295 additions and 101 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ export class FrigateCardGallery extends LitElement {
this.view,
);
} else {
const mediaType = this.view.is('snapshots')
const eventsMediaType = this.view.is('snapshots')
? 'snapshots'
: this.view.is('clips')
? 'clips'
@@ -98,7 +98,7 @@ export class FrigateCardGallery extends LitElement {
this.cardWideConfig,
this.view,
{
...(mediaType && { mediaType: mediaType }),
...(eventsMediaType && { eventsMediaType: eventsMediaType }),
},
);
}