mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-09 15:05:26 +03:00
Defer setRecording and return true from hook for cleanup
This commit is contained in:
parent
55a858783c
commit
10ced9195d
@ -272,6 +272,7 @@ export default function Events() {
|
||||
...reviewFilter,
|
||||
...getReviewDayBounds(new Date(reviewLink.timestamp * 1000)),
|
||||
});
|
||||
globalThis.setTimeout(() => {
|
||||
setRecording(
|
||||
{
|
||||
camera: reviewLink.camera,
|
||||
@ -283,8 +284,9 @@ export default function Events() {
|
||||
},
|
||||
true,
|
||||
);
|
||||
}, 0);
|
||||
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
|
||||
// review paging
|
||||
|
||||
Loading…
Reference in New Issue
Block a user