(issue: Issue | null)
| 40 | } |
| 41 | |
| 42 | public setIssue(issue: Issue | null) { |
| 43 | this.issue = issue; |
| 44 | if (issue) { |
| 45 | this.count = issue.comments; |
| 46 | this.countAnchor.href = issue.html_url; |
| 47 | this.renderCount(); |
| 48 | } else { |
| 49 | this.countAnchor.removeAttribute('href'); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | public insertComment(comment: IssueComment, incrementCount: boolean) { |
| 54 | const component = new CommentComponent( |
no test coverage detected