@sourceView.resetShowBlocks()
issues.forEach (issue) =>
line = issue.line || 0
- if issue.resolution == 'FIXED' || issue.resolution == 'REMOVED'
+ if issue.status == 'CLOSED'
@sourceView.addShowBlock 0, 0, true
else
@sourceView.addShowBlock line - LINES_AROUND_ISSUE, line + LINES_AROUND_ISSUE, line == 0
issues.forEach (issue) =>
if predicate issue
line = issue.line || 0
- if issue.resolution == 'FIXED' || issue.resolution == 'REMOVED'
+ if issue.status == 'CLOSED'
@sourceView.addShowBlock 0, 0, true
else
@sourceView.addShowBlock line - LINES_AROUND_ISSUE, line + LINES_AROUND_ISSUE, line == 0