Fix tests

This commit is contained in:
Nicolas Mowen 2024-03-05 06:24:47 -07:00
parent 9abeb54657
commit 4ce088ad01
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ from frigate.api.review import ReviewBp
from frigate.config import FrigateConfig from frigate.config import FrigateConfig
from frigate.const import CONFIG_DIR from frigate.const import CONFIG_DIR
from frigate.events.external import ExternalEventProcessor from frigate.events.external import ExternalEventProcessor
from frigate.models import Event, Recordings, Timeline from frigate.models import Event, Timeline
from frigate.plus import PlusApi from frigate.plus import PlusApi
from frigate.ptz.onvif import OnvifController from frigate.ptz.onvif import OnvifController
from frigate.stats.emitter import StatsEmitter from frigate.stats.emitter import StatsEmitter

View File

@ -529,7 +529,7 @@ type MotionReviewProps = {
relevantPreviews?: Preview[]; relevantPreviews?: Preview[];
timeRange: { before: number; after: number }; timeRange: { before: number; after: number };
filter?: ReviewFilter; filter?: ReviewFilter;
onSelectReview: (data: string) => void; onSelectReview: (data: string, ctrl: boolean) => void;
}; };
function MotionReview({ function MotionReview({
contentRef, contentRef,
@ -656,7 +656,7 @@ function MotionReview({
setPlayerReady(true); setPlayerReady(true);
}} }}
onClick={() => onClick={() =>
onSelectReview(`motion,${camera.name},${currentTime}`) onSelectReview(`motion,${camera.name},${currentTime}`, false)
} }
/> />
); );