Skip to content

Commit

Permalink
Fix posts hidden not appearing on profile (aeharding#293)
Browse files Browse the repository at this point in the history
Resolves aeharding#283

NOTE: You can technically "swipe" away an item from profile still.

However, in aeharding#64 we will have custom profile swipe actions where
swipe to hide is disabled.
  • Loading branch information
aeharding authored Jul 7, 2023
1 parent 73fa41e commit fe419ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/features/user/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@ export default function Profile({ person }: ProfileProps) {
[person, buildGeneralBrowseLink, isSelf]
);

return <PostCommentFeed fetchFn={fetchFn} header={header} />;
return (
<PostCommentFeed
fetchFn={fetchFn}
header={header}
filterHiddenPosts={false}
/>
);
}

function getCreatedDate(item: PostCommentItem): number {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/profile/ProfileFeedItemsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function ProfileFeedItemsPage({
</IonToolbar>
</IonHeader>
<IonContent>
<PostCommentFeed fetchFn={fetchFn} />
<PostCommentFeed fetchFn={fetchFn} filterHiddenPosts={false} />
</IonContent>
</IonPage>
);
Expand Down

0 comments on commit fe419ac

Please sign in to comment.