Skip to content

Commit 112f37c

Browse files
authored
Fix yet another ctx template bug (#27417)
Fixes #27416
1 parent 4636f56 commit 112f37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/user/profile_big_avatar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<li>
8484
<ul class="user-orgs">
8585
{{range .Orgs}}
86-
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
86+
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
8787
<li>
8888
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
8989
{{ctx.AvatarUtils.Avatar .}}

0 commit comments

Comments
 (0)