mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-19 03:26:41 +03:00
lint fix
This commit is contained in:
parent
0f0d6bd83a
commit
2e9ca27acf
@ -308,7 +308,9 @@ export function RecordingView({
|
||||
}
|
||||
|
||||
// Sort all events by start time to ensure correct order
|
||||
const sortedEvents = [...mainCameraReviewItems].sort((a, b) => a.start_time - b.start_time);
|
||||
const sortedEvents = [...mainCameraReviewItems].sort(
|
||||
(a, b) => a.start_time - b.start_time,
|
||||
);
|
||||
|
||||
// Find which event we're currently viewing
|
||||
// Check if current time is between (event start - REVIEW_PADDING) and (event end or start + 60s)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user