forked from Github/frigate
Explore pane infinite loading (#13738)
* swr for infinite loading * search detail language change * drawer padding * spacing * center calendar * padding * catch error * use limit const
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user