From 762085b878eaca1f896f61e98e34bac71be19cf0 Mon Sep 17 00:00:00 2001 From: Innei Date: Sat, 6 Jul 2024 20:14:34 +0800 Subject: [PATCH] fix: skip marking unread for specific conditions Signed-off-by: Innei --- src/renderer/src/modules/entry-column/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/modules/entry-column/index.tsx b/src/renderer/src/modules/entry-column/index.tsx index c7b184efb..8304b3714 100644 --- a/src/renderer/src/modules/entry-column/index.tsx +++ b/src/renderer/src/modules/entry-column/index.tsx @@ -68,6 +68,7 @@ export function EntryColumn() { useEffect(() => { if (!feedId || !activeEntryId) return + if (activeEntryId === ROUTE_ENTRY_PENDING || feedId === FEED_COLLECTION_LIST || feedId === ROUTE_FEED_PENDING) return batchMarkUnread([feedId, activeEntryId]) }, [activeEntry, activeEntryId, feedId])