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.
This commit is contained in:
Gigi
2025-10-19 23:24:58 +02:00
parent b89705cf43
commit ab5225de50

View File

@@ -72,7 +72,7 @@ export async function fetchAllReads(
processMarkedAsRead(markedAsReadArticles, readsMap)
if (onItem) {
readsMap.forEach(item => {
if (item.type === 'article') onItem(item)
onItem(item)
})
}