summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index df29d61fc4..fdce06a298 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -27,7 +27,7 @@
</div>
<div id="org-repo-list">
{{range .Repos}}
- {{if or (not .IsPrivate) (.HasAccess $.SignedUser.Name)}}
+ {{if or (not .IsPrivate) (.HasAccess $.SignedUser)}}
<div class="org-repo-item">
<ul class="org-repo-status right">
<li><i class="octicon octicon-star"></i> {{.NumStars}}</li>