mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Don't require previews to show motion ui
This commit is contained in:
parent
f2c46408c4
commit
ef3fe91f31
@ -957,7 +957,7 @@ function MotionReview({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!relevantPreviews) {
|
if (relevantPreviews == undefined) {
|
||||||
return <ActivityIndicator />;
|
return <ActivityIndicator />;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -999,7 +999,7 @@ function MotionReview({
|
|||||||
camera={camera.name}
|
camera={camera.name}
|
||||||
timeRange={currentTimeRange}
|
timeRange={currentTimeRange}
|
||||||
startTime={previewStart}
|
startTime={previewStart}
|
||||||
cameraPreviews={relevantPreviews || []}
|
cameraPreviews={relevantPreviews}
|
||||||
isScrubbing={scrubbing}
|
isScrubbing={scrubbing}
|
||||||
onControllerReady={(controller) => {
|
onControllerReady={(controller) => {
|
||||||
videoPlayersRef.current[camera.name] = controller;
|
videoPlayersRef.current[camera.name] = controller;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user