Skip to content

Commit

Permalink
Fix show read setting breaking Voyager post hiding (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Nov 9, 2024
1 parent ea12af0 commit 819ae45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/pages/profile/ProfileFeedItemsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default function ProfileFeedItemsPage({
sort: "New",
liked_only: type === "Upvoted",
disliked_only: type === "Downvoted",
show_read: true,
};

const [{ posts }, { comments }] = await Promise.all([
Expand Down
1 change: 1 addition & 0 deletions src/routes/pages/shared/CommunityPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const CommunityPageContent = memo(function CommunityPageContent({
limit: LIMIT,
community_name: community,
sort,
show_read: true,
});
return { data: posts, next_page };
},
Expand Down
1 change: 1 addition & 0 deletions src/routes/pages/shared/SpecialFeedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default function SpecialFeedPage({ type }: SpecialFeedProps) {
limit: LIMIT,
sort,
type_: type,
show_read: true,
});

return { data: posts, next_page };
Expand Down

0 comments on commit 819ae45

Please sign in to comment.