diff --git a/web/src/components/card/AnimatedEventCard.tsx b/web/src/components/card/AnimatedEventCard.tsx index 68c7cd7a5..a032ecda6 100644 --- a/web/src/components/card/AnimatedEventCard.tsx +++ b/web/src/components/card/AnimatedEventCard.tsx @@ -104,14 +104,18 @@ export function AnimatedEventCard({ event }: AnimatedEventCardProps) { /> ) : ( )}
diff --git a/web/src/components/player/PreviewThumbnailPlayer.tsx b/web/src/components/player/PreviewThumbnailPlayer.tsx index 1a482ae8e..0859a0af9 100644 --- a/web/src/components/player/PreviewThumbnailPlayer.tsx +++ b/web/src/components/player/PreviewThumbnailPlayer.tsx @@ -672,7 +672,9 @@ export function InProgressPreview({ setReviewed(review.id); } - setKey(key + 1); + if (previewFrames[key + 1]) { + setKey(key + 1); + } }, MIN_LOAD_TIMEOUT_MS); // we know that these deps are correct diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx index 03ffd91d9..f6d85a565 100644 --- a/web/src/views/live/LiveCameraView.tsx +++ b/web/src/views/live/LiveCameraView.tsx @@ -594,6 +594,7 @@ function PtzControlPanel({ return ( sendPtz(`preset_${preset}`)} > {preset}