Use new filter for Posts tab on profile (#2150)
* Use new filter for Posts tab on profile * Update deps * Remove log
This commit is contained in:
parent
e1b1720cad
commit
9c0c18d5d0
6 changed files with 35 additions and 117 deletions
|
@ -40,7 +40,7 @@ export class AuthorFeedAPI implements FeedAPI {
|
|||
}
|
||||
|
||||
_filter(feed: AppBskyFeedDefs.FeedViewPost[]) {
|
||||
if (this.params.filter === 'posts_no_replies') {
|
||||
if (this.params.filter === 'posts_and_author_threads') {
|
||||
return feed.filter(post => {
|
||||
const isReply = post.reply
|
||||
const isRepost = AppBskyFeedDefs.isReasonRepost(post.reason)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue