This commit is contained in:
Belen Curcio
2017-09-08 17:14:15 -03:00
parent 2cbd59b4b5
commit 790c20e7ac
2 changed files with 8 additions and 8 deletions
@@ -343,11 +343,11 @@ export default class Comment extends React.Component {
} = this.props;
if (this.commentIsRejected(comment)) {
return <CommentTombstone action="rejected" />;
return <CommentTombstone action='reject' />;
}
if (this.commentIsIgnored(comment)) {
return <CommentTombstone action="ignored" />;
return <CommentTombstone action='ignore' />;
}
const view = this.getVisibileReplies();
@@ -8,12 +8,12 @@ class CommentTombstone extends React.Component {
const {action} = this.props;
switch (action) {
case 'ignored':
return t('framework.comment_is_ignored')
case 'rejected':
return t('framework.comment_is_rejected')
default :
return t('framework.comment_is_hidden');
case 'ignore':
return t('framework.comment_is_ignored')
case 'reject':
return t('framework.comment_is_rejected')
default :
return t('framework.comment_is_hidden');
}
}