mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Cleanup
This commit is contained in:
parent
2d03c152fd
commit
c4f380c4f3
@ -44,13 +44,6 @@ export default function PreviewPlayer({
|
||||
const timeRangeOffset =
|
||||
(getUTCOffset(new Date(timeRange.before * 1000)) % 60) * 60;
|
||||
|
||||
console.log(`the offset is ${timeRangeOffset}`);
|
||||
cameraPreviews.forEach((preview) =>
|
||||
console.log(
|
||||
`check ${new Date(Math.round(preview.start) * 1000)} >= ${new Date((timeRange.after + timeRangeOffset) * 1000)}`,
|
||||
),
|
||||
);
|
||||
|
||||
return cameraPreviews.find(
|
||||
(preview) =>
|
||||
preview.camera == camera &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user