This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Make switch more clear (
#5119
)
for-closed-social
Oleg Kovalov
6 years ago
committed by
Lunny Xiao
parent
8db3bdc683
commit
fef0410b92
1 changed files
with
2 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-3
models/review.go
+ 2
- 3
models/review.go
View File
@ -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
Write
Preview
Loading…
Cancel
Save