mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15:25 +03:00
Fix tests
This commit is contained in:
parent
9abeb54657
commit
4ce088ad01
@ -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
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user