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 2024-02-02 19:01:11 +09:00 committed by GitHub
parent a062725758
commit 3aed8ae034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

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)