diff --git a/web/src/components/camera/AutoUpdatingCameraImage.tsx b/web/src/components/camera/AutoUpdatingCameraImage.tsx index d10a32317..3730f069b 100644 --- a/web/src/components/camera/AutoUpdatingCameraImage.tsx +++ b/web/src/components/camera/AutoUpdatingCameraImage.tsx @@ -69,7 +69,7 @@ export default function AutoUpdatingCameraImage({ {showFps ? Displaying at {fps}fps : null} diff --git a/web/src/components/player/PreviewPlayer.tsx b/web/src/components/player/PreviewPlayer.tsx index ec59d81c7..eb2665e4d 100644 --- a/web/src/components/player/PreviewPlayer.tsx +++ b/web/src/components/player/PreviewPlayer.tsx @@ -84,7 +84,7 @@ export default function PreviewPlayer({ return (
@@ -322,7 +322,7 @@ function PreviewVideoPlayer({ )} {cameraPreviews && !currentPreview && ( -
+
No Preview Found
)} @@ -535,7 +535,7 @@ function PreviewFramesPlayer({ onLoad={onImageLoaded} /> {previewFrames?.length === 0 && ( -
+
No Preview Found
)} diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index 1766be745..157dab9f9 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -30,7 +30,7 @@ import { useState, } from "react"; import { isDesktop, isMobile } from "react-device-detect"; -import { LuFolderCheck } from "react-icons/lu"; +import { LuFolderCheck, LuFolderX } from "react-icons/lu"; import { MdCircle } from "react-icons/md"; import useSWR from "swr"; import MotionReviewTimeline from "@/components/timeline/MotionReviewTimeline"; @@ -858,6 +858,15 @@ function MotionReview({ ], ); + if (motionData?.length === 0) { + return ( +
+ + No motion data found +
+ ); + } + if (!relevantPreviews) { return ; }