mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-22 08:57:20 -06:00
Ensure review padding is consistently applied (#11728)
This commit is contained in:
parent
e6d1ad0ac5
commit
ea0292b911
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user