fix: close #279, deleted/removed posts are still shown
This commit is contained in:
1 parent
c7e3f4d56e
commit
df0cfbd932
5 files changed
+23
-7
No files matched your search
@@ -37,7 +37,12 @@
|
||||
const seenUrls = new Set<string>()
|
||||
|
||||
posts?.forEach((post) => {
|
||||
if (!post) return
|
||||
if (
|
||||
!post ||
|
||||
($userSettings.hidePosts.deleted && post.post.deleted) ||
|
||||
($userSettings.hidePosts.removed && post.post.removed)
|
||||
)
|
||||
return
|
||||
if (!post?.post?.url) {
|
||||
results.push(post)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user