From 82da380af73cba733f15f12f12807a12f8efcc56 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Mon, 6 Sep 2021 22:11:17 +0800 Subject: [PATCH] Add missing icon set for `ActionRenameRepo` (#16972) Signed-off-by: a1012112796 <1012112796@qq.com> --- modules/templates/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 00b07dcec..f8a93228d 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -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"