|
@ -38,12 +38,11 @@ func (rt ReviewType) Icon() string { |
|
|
return "eye" |
|
|
return "eye" |
|
|
case ReviewTypeReject: |
|
|
case ReviewTypeReject: |
|
|
return "x" |
|
|
return "x" |
|
|
|
|
|
case ReviewTypeComment, ReviewTypeUnknown: |
|
|
|
|
|
return "comment" |
|
|
default: |
|
|
default: |
|
|
case ReviewTypeComment: |
|
|
|
|
|
case ReviewTypeUnknown: |
|
|
|
|
|
return "comment" |
|
|
return "comment" |
|
|
} |
|
|
} |
|
|
return "comment" |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Review represents collection of code comments giving feedback for a PR
|
|
|
// Review represents collection of code comments giving feedback for a PR
|
|
|