diff --git a/models/review.go b/models/review.go index dd8743586d4..f58d3f90cb0 100644 --- a/models/review.go +++ b/models/review.go @@ -38,12 +38,11 @@ func (rt ReviewType) Icon() string { return "eye" case ReviewTypeReject: return "x" + case ReviewTypeComment, ReviewTypeUnknown: + return "comment" default: - case ReviewTypeComment: - case ReviewTypeUnknown: return "comment" } - return "comment" } // Review represents collection of code comments giving feedback for a PR