[ui] Change icon type for review action in action page (#11191)

* 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 <1012112796@qq.com>
This commit is contained in:
赵智超 2020-04-24 12:58:14 +08:00 committed by GitHub
parent b10c416f9e
commit d3fc9c08c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -564,11 +564,11 @@ func ActionIcon(opType models.ActionType) string {
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete: case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
return "repo-clone" return "repo-clone"
case models.ActionApprovePullRequest: case models.ActionApprovePullRequest:
return "eye" return "check"
case models.ActionRejectPullRequest: case models.ActionRejectPullRequest:
return "x" return "request-changes"
default: default:
return "invalid type" return "question"
} }
} }