Skip to content

Commit d3fc9c0

Browse files
authored
[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 <[email protected]>
1 parent b10c416 commit d3fc9c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: modules/templates/helper.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -564,11 +564,11 @@ func ActionIcon(opType models.ActionType) string {
564564
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
565565
return "repo-clone"
566566
case models.ActionApprovePullRequest:
567-
return "eye"
567+
return "check"
568568
case models.ActionRejectPullRequest:
569-
return "x"
569+
return "request-changes"
570570
default:
571-
return "invalid type"
571+
return "question"
572572
}
573573
}
574574

0 commit comments

Comments
 (0)