mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
catch error
This commit is contained in:
parent
46d0a65ef9
commit
872e4de488
@ -193,7 +193,7 @@ export default function ObjectLifecycle({
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (eventSequence) {
|
||||
if (eventSequence && eventSequence.length > 0) {
|
||||
setTimeIndex(eventSequence?.[current].timestamp);
|
||||
handleSetBox(eventSequence?.[current].data.box ?? []);
|
||||
setLifecycleZones(eventSequence?.[current].data.zones);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user