Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure review padding is consistently applied #11728

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Ensure review padding is consistently applied
  • Loading branch information
NickM-27 committed Jun 3, 2024
commit 3cb36c198d42fbe91aeeb8610762a07c12422483
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
Loading