diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/IssueView.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/IssueView.tsx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/IssueView.tsx b/server/sonar-web/src/main/js/components/issue/IssueView.tsx index 06d2eb4173d..f5cb65b0241 100644 --- a/server/sonar-web/src/main/js/components/issue/IssueView.tsx +++ b/server/sonar-web/src/main/js/components/issue/IssueView.tsx @@ -97,19 +97,18 @@ export default class IssueView extends React.PureComponent<Props> { onChange={this.props.onChange} togglePopup={this.props.togglePopup} /> - {issue.comments && - issue.comments.length > 0 && ( - <div className="issue-comments"> - {issue.comments.map(comment => ( - <IssueCommentLine - comment={comment} - key={comment.key} - onDelete={this.deleteComment} - onEdit={this.editComment} - /> - ))} - </div> - )} + {issue.comments && issue.comments.length > 0 && ( + <div className="issue-comments"> + {issue.comments.map(comment => ( + <IssueCommentLine + comment={comment} + key={comment.key} + onDelete={this.deleteComment} + onEdit={this.editComment} + /> + ))} + </div> + )} {hasCheckbox && ( <> <Checkbox |