From 5554b58f93d85a754d2fe99c4636ff907caaffcf Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 3 Jan 2026 00:09:25 +0000 Subject: [PATCH] fix: Make feed update check more robust by comparing all story IDs Co-authored-by: aider (gemini/gemini-2.5-pro) --- webclient/src/Feed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 944121d..40bdfdb 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -54,7 +54,7 @@ function Feed({ updateCache, filterSmallweb, feedSources }) { async (result) => { const newApiStories = result.stories; - const updated = !stories || !stories.length || stories[0].id !== newApiStories[0].id; + const updated = !stories || stories.map(s => s.id).join() !== newApiStories.map(s => s.id).join(); console.log('New stories available:', updated); if (!updated) return;