mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Correctly display removed link posts
This commit is contained in:
parent
e13b68f90f
commit
245bfe1f6b
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue