Skip to content

Commit

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

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

However, in #64 we will have custom profile swipe actions where
swipe to hide is disabled.
  • Loading branch information
aeharding committed Jul 6, 2023
1 parent f5cb98e commit cd72a11
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 cd72a11

Please sign in to comment.