Skip to content

Commit

Permalink
Ensure review padding is consistently applied
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Jun 3, 2024
1 parent e6d1ad0 commit 3cb36c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/pages/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3cb36c1

Please sign in to comment.