mirror of
https://github.com/dergigi/boris.git
synced 2026-01-19 23:04:46 +01:00
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:
@@ -72,7 +72,7 @@ export async function fetchAllReads(
|
||||
processMarkedAsRead(markedAsReadArticles, readsMap)
|
||||
if (onItem) {
|
||||
readsMap.forEach(item => {
|
||||
if (item.type === 'article') onItem(item)
|
||||
onItem(item)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user