From 57480154a1de872da928c06575bf4b80b995c22c Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 3 Apr 2024 10:14:19 -0600 Subject: [PATCH] Don't repull when there are no items to pull --- web/src/pages/Logs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Logs.tsx b/web/src/pages/Logs.tsx index 13b6d0a70..99aaaafa3 100644 --- a/web/src/pages/Logs.tsx +++ b/web/src/pages/Logs.tsx @@ -209,7 +209,7 @@ function Logs() { try { startObserver.current = new IntersectionObserver((entries) => { - if (entries[0].isIntersecting) { + if (entries[0].isIntersecting && logRange.start > 0) { const start = Math.max(0, logRange.start - 100); axios