0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 11:54:45 +01:00

Add missing icon set for ActionRenameRepo (#16972)

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
a1012112796 2021-09-06 22:11:17 +08:00 committed by GitHub
parent 0767fe0d80
commit 82da380af7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -777,7 +777,7 @@ type Actioner interface {
// ActionIcon accepts an action operation type and returns an icon class name.
func ActionIcon(opType models.ActionType) string {
switch opType {
case models.ActionCreateRepo, models.ActionTransferRepo:
case models.ActionCreateRepo, models.ActionTransferRepo, models.ActionRenameRepo:
return "repo"
case models.ActionCommitRepo, models.ActionPushTag, models.ActionDeleteTag, models.ActionDeleteBranch:
return "git-commit"