Skip to content

Commit

Permalink
[ui] Change icon type for review action in action page (#11191)
Browse files Browse the repository at this point in the history
* as title, do same changs on action view with #10737
* chage default icon from "invalid type" to "question" , because  "invalid type" is not a meaningfull icon type

Signed-off-by: a1012112796 <[email protected]>
  • Loading branch information
a1012112796 committed Apr 24, 2020
1 parent b10c416 commit d3fc9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/templates/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,11 @@ func ActionIcon(opType models.ActionType) string {
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
return "repo-clone"
case models.ActionApprovePullRequest:
return "eye"
return "check"
case models.ActionRejectPullRequest:
return "x"
return "request-changes"
default:
return "invalid type"
return "question"
}
}

Expand Down

0 comments on commit d3fc9c0

Please sign in to comment.