Fix default avatar image size in PR diff page (#28971)

Fix #28941

ps: didn't test. The repo is too big to migrate.
This commit is contained in:
yp05327 authored and GitHub committed 2024-02-02 10:01:11 +00:00
1 parent a062725758
commit 3aed8ae034
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ func (au *AvatarUtils) Avatar(item any, others ...any) template.HTML {
}
}
return ""
return AvatarHTML(avatars.DefaultAvatarLink(), size, class, "")
}
// AvatarByAction renders user avatars from action. args: action, size (int), class (string)