From ea0292b91192d36fa741962a5297c34e76171cd8 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 3 Jun 2024 17:10:39 -0600 Subject: [PATCH] Ensure review padding is consistently applied (#11728) --- web/src/pages/Events.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Events.tsx b/web/src/pages/Events.tsx index 89bc59afe..8c9debc64 100644 --- a/web/src/pages/Events.tsx +++ b/web/src/pages/Events.tsx @@ -6,6 +6,7 @@ import { useOverlayState, useSearchEffect } from "@/hooks/use-overlay-state"; import { FrigateConfig } from "@/types/frigateConfig"; import { RecordingStartingPoint } from "@/types/record"; import { + REVIEW_PADDING, ReviewFilter, ReviewSegment, ReviewSeverity, @@ -42,7 +43,7 @@ export default function Events() { setRecording( { camera: resp.data.camera, - startTime: resp.data.start_time, + startTime: resp.data.start_time - REVIEW_PADDING, severity: resp.data.severity, }, true,