De-duplicate events at the same time.

This commit is contained in:
Dermot Duffy
2023-03-26 17:36:23 -07:00
parent 304c7e3164
commit d2ddc3e8f0
7 changed files with 109 additions and 86 deletions
-4
View File
@@ -621,10 +621,6 @@ export class FrigateCardViewerProvider
// If this specific media item has no clip, then do nothing (even if all
// the other media items do).
!ViewMediaClassifier.isEvent(this.media) ||
// If the event certainly has no clip, don't bother going further. If
// we're not sure for this camera type (i.e. hasClip() === null) the query
// will proceed anyway.
this.media.hasClip() === false ||
!MediaQueriesClassifier.areEventQueries(this.view.query)
) {
return;