Merge branch '44508-fix-fork-namespace-images' into 'master'
Resolve "When forking any project, the images (avatar) of the groups (and subgroups) are not loaded." Closes #44508 See merge request gitlab-org/gitlab-ce!18048
This commit is contained in:
commit
a91b158ec0
|
@ -31,7 +31,7 @@ module NamespacesHelper
|
|||
|
||||
def namespace_icon(namespace, size = 40)
|
||||
if namespace.is_a?(Group)
|
||||
group_icon(namespace)
|
||||
group_icon_url(namespace)
|
||||
else
|
||||
avatar_icon_for_user(namespace.owner, size)
|
||||
end
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix bug rendering group icons when forking
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in New Issue