mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
Fix delay for new alerts
This commit is contained in:
parent
5dbdabeaee
commit
083337064b
@ -43,7 +43,7 @@ export default function LiveDashboardView({
|
||||
|
||||
// if event is ended and was saved, update events list
|
||||
if (eventUpdate.type == "end" && eventUpdate.review.severity == "alert") {
|
||||
updateEvents();
|
||||
setTimeout(() => updateEvents(), 1000);
|
||||
return;
|
||||
}
|
||||
}, [eventUpdate, updateEvents]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user