Break out thumbnails into their own component.

This commit is contained in:
Dermot Duffy
2022-03-20 18:10:48 -07:00
parent 50596cb68a
commit b9a627702f
11 changed files with 227 additions and 82 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ export class FrigateCardLive extends LitElement {
.target=${parent}
.view=${this.view}
.config=${config.controls.thumbnails}
.highlightSelected=${false}
.highlight_selected=${false}
@frigate-card:carousel:tap=${(ev: CustomEvent<ThumbnailCarouselTap>) => {
const mediaType = browseMediaParams.mediaType;
if (mediaType && this.view && ['snapshots', 'clips'].includes(mediaType)) {