Make switch more clear (#5119)

tokarchuk/v1.17
Oleg Kovalov 6 years ago committed by Lunny Xiao
parent 8db3bdc683
commit fef0410b92
  1. 5
      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

Loading…
Cancel
Save