diff --git a/views/index.html b/views/index.html index e0fc4b5..e936732 100644 --- a/views/index.html +++ b/views/index.html @@ -152,13 +152,13 @@ } }, unread() { - return this.items.filter(item => !item.Read).length; + return this.items.filter(item => !item.Read && !item.PendingRead).length; }, saved() { return this.savedItems.length; }, unreadCounts() { - return this.items.filter(item => !item.Read).reduce((acc, item) => { + return this.items.filter(item => !item.Read && !item.PendingRead).reduce((acc, item) => { if (!acc[item.FeedID]) acc[item.FeedID] = 0; acc[item.FeedID]++; return acc;