Correctly display removed link posts

This commit is contained in:
Christopher Gurnee 2021-12-02 17:03:16 -05:00
parent e13b68f90f
commit 245bfe1f6b

View file

@ -44,7 +44,8 @@ class Thread extends React.Component {
}
this.setState({ post: removedPost })
})
}
} else if (post.removed_by_category)
post.removed = true
})
.catch(error => {
this.props.global.setError(error)