Add optional prevention of playing a clip on snapshot click

This commit is contained in:
Dermot Duffy committed 2022-10-12 17:58:36 -07:00
1 parent 7a3b86d2a3
commit cfdf0a429b
7 files changed
+32 -4

No files matched your search

+2 -1
View File
@@ -793,7 +793,8 @@ export class FrigateCardViewerCarousel extends LitElement {
if (
this._refMediaCarousel.value
?.frigateCardCarousel()
?.carouselClickAllowed()
?.carouselClickAllowed() &&
this.viewerConfig?.snapshot_click_plays_clip
) {
this._findRelatedClipView(mediaToRender).then((view) => {
if (view) {