diff --git a/web/src/components/player/dynamic/DynamicVideoPlayer.tsx b/web/src/components/player/dynamic/DynamicVideoPlayer.tsx index 9e2d9a353..a40d521ea 100644 --- a/web/src/components/player/dynamic/DynamicVideoPlayer.tsx +++ b/web/src/components/player/dynamic/DynamicVideoPlayer.tsx @@ -238,7 +238,7 @@ export default function DynamicVideoPlayer({ {!isScrubbing && (isLoading || isBuffering) && !noRecording && ( )} - {!isScrubbing && noRecording && ( + {!isScrubbing && !isLoading && noRecording && (
No recordings found for this time
diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index ec92c00ad..1852af8b4 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -957,7 +957,7 @@ function MotionReview({ ); } - if (!relevantPreviews) { + if (relevantPreviews == undefined) { return ; } @@ -999,7 +999,7 @@ function MotionReview({ camera={camera.name} timeRange={currentTimeRange} startTime={previewStart} - cameraPreviews={relevantPreviews || []} + cameraPreviews={relevantPreviews} isScrubbing={scrubbing} onControllerReady={(controller) => { videoPlayersRef.current[camera.name] = controller;