mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Don't repull when there are no items to pull
This commit is contained in:
parent
c5ecc522fd
commit
57480154a1
@ -209,7 +209,7 @@ function Logs() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
startObserver.current = new IntersectionObserver((entries) => {
|
startObserver.current = new IntersectionObserver((entries) => {
|
||||||
if (entries[0].isIntersecting) {
|
if (entries[0].isIntersecting && logRange.start > 0) {
|
||||||
const start = Math.max(0, logRange.start - 100);
|
const start = Math.max(0, logRange.start - 100);
|
||||||
|
|
||||||
axios
|
axios
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user