Skip to content

Commit

Permalink
fix: uncategorized feeds open status
Browse files Browse the repository at this point in the history
  • Loading branch information
Przeblysk committed Sep 29, 2024
1 parent 7cef553 commit 3c0219f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/feed-column/category.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function FeedCategoryImpl({ data: ids, view, categoryOpenStateData }: FeedCatego
const folderName = subscription?.category || subscription.defaultCategory

const showCollapse = sortByUnreadFeedList.length > 1 || subscription?.category
const open = folderName ? categoryOpenStateData[folderName] : false
const open = subscription?.category ? categoryOpenStateData[subscription?.category] : true

const shouldOpen = useRouteParamsSelector(
(s) => typeof s.feedId === "string" && ids.includes(s.feedId),
Expand Down

0 comments on commit 3c0219f

Please sign in to comment.