fix videos rows showing event frames from other monitors

cron-addstorage-fix^2
Moe 2021-11-23 15:32:57 -08:00
parent 2cab5c3063
commit ec5b12d57d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function applyEventListToVideos(videos,events){
var startTime = new Date(video.time)
var endTime = new Date(video.end)
var eventTime = new Date(theEvent.time)
if(eventTime >= startTime && eventTime <= endTime){
if(theEvent.mid === video.mid && eventTime >= startTime && eventTime <= endTime){
videoEvents.push(theEvent)
currentEvents.splice(index, 1)
}