always show comment status for admins

This commit is contained in:
igoradamenko
2018-03-26 00:00:01 +03:00
parent fbac192d04
commit e67cd70676
+7 -9
View File
@@ -255,16 +255,14 @@ export default class Comment extends Component {
}
{
isAdmin && data.text.length === 0 && defaultMods.useless && (
<span className="comment__status">
{
userBlocked && "blocked"
}
isAdmin && userBlocked && (
<span className="comment__status">blocked</span>
)
}
{
!userBlocked && deleted && "deleted"
}
</span>
{
isAdmin && !userBlocked && deleted && (
<span className="comment__status">deleted</span>
)
}