Add optional prevention of playing a clip on snapshot click

This commit is contained in:
Dermot Duffy
2022-10-12 17:58:36 -07:00
parent 7a3b86d2a3
commit cfdf0a429b
7 changed files with 32 additions and 4 deletions
+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) {