Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(board): show total count in Done column and infinite scroll (#501)

LinYushen0c45864ef0bf
diff --git a/apps/web/features/issues/components/board-view.tsx b/apps/web/features/issues/components/board-view.tsx
index 6ea8ba0a04..a33119a4d6 100644
--- a/apps/web/features/issues/components/board-view.tsx
+++ b/apps/web/features/issues/components/board-view.tsx
@@ -43,7 +43,7 @@ function InfiniteScrollSentinel({ onVisible, loading }: { onVisible: () => void;
const node = sentinelRef.current;
if (!node) return;
const observer = new IntersectionObserver(
- ([entry]) => { if (entry.isIntersecting) onVisibleRef.current(); },
+ ([entry]) => { if (entry?.isIntersecting) onVisibleRef.current(); },
{ rootMargin: "100px" },
);
observer.observe(node);