From ab5225de508274f1898eaeabcea82689f3cd991d Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 19 Oct 2025 23:24:58 +0200 Subject: [PATCH] fix: emit all reading items not just articles The onItem callback was filtering to only 'article' type items, which excluded external URLs from reading progress. Now all items (articles and external URLs) are emitted to readsController. This fixes the empty reads list issue where reading progress exists but wasn't being displayed. --- src/services/readsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/readsService.ts b/src/services/readsService.ts index 41e9f1ce..f3f58d35 100644 --- a/src/services/readsService.ts +++ b/src/services/readsService.ts @@ -72,7 +72,7 @@ export async function fetchAllReads( processMarkedAsRead(markedAsReadArticles, readsMap) if (onItem) { readsMap.forEach(item => { - if (item.type === 'article') onItem(item) + onItem(item) }) }