From 8a4edf9cecf7282c4566aa5f0a4156f6bf6dce5d Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:07:44 +0800 Subject: [PATCH] fix: get folder feed ids --- packages/internal/store/src/subscription/selectors.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/internal/store/src/subscription/selectors.ts b/packages/internal/store/src/subscription/selectors.ts index b207a28e5..723ea9e7e 100644 --- a/packages/internal/store/src/subscription/selectors.ts +++ b/packages/internal/store/src/subscription/selectors.ts @@ -22,7 +22,9 @@ export const folderFeedsByFeedIdSelector = const subscription = state.data[feedId]! if ( subscription.view === view && - (subscription.category === folderName || getDefaultCategory(subscription) === folderName) + (subscription.category + ? subscription.category === folderName + : getDefaultCategory(subscription) === folderName) ) { feedIds.push(feedId) }