From 38d72d40f132df8a6e90063f3e96a80048bf299e Mon Sep 17 00:00:00 2001 From: Jimmy Praet Date: Sat, 7 May 2022 17:49:43 +0200 Subject: Only show accessible teams in dashboard dropdown list (#19642) Fixes #19637 --- templates/user/dashboard/navbar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index e995db81d8..7127abeb0b 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -61,7 +61,7 @@ {{.i18n.Tr "all"}} - {{range .OrgTeams}} + {{range .Teams}} {{if not .IncludesAllRepositories}} {{.Name}} -- cgit v1.2.3