mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
Fix bug where export didn't start
This commit is contained in:
parent
17ae4b524a
commit
dc360e357a
@ -121,6 +121,14 @@ export default function ExportDialog({
|
||||
className="flex items-center gap-2"
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
const now = new Date(latestTime * 1000);
|
||||
let start = 0;
|
||||
now.setHours(now.getHours() - 1);
|
||||
start = now.getTime() / 1000;
|
||||
setRange({
|
||||
before: latestTime,
|
||||
after: start,
|
||||
});
|
||||
setMode("select");
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user