]> source.dussan.org Git - gitea.git/commit
Fix correct usage of teams (#17732)
authorGusted <williamzijl7@hotmail.com>
Sat, 20 Nov 2021 03:13:24 +0000 (03:13 +0000)
committerGitHub <noreply@github.com>
Sat, 20 Nov 2021 03:13:24 +0000 (11:13 +0800)
commit9f14fe43c6de96ce7cf81c87620fcd50e086910c
tree07ad012b753b0a1ce6afe547004ed7081befe145
parent52869ef386070a3f35751a71d8d2c87b012b5a6e
Fix correct usage of teams (#17732)

- `.Teams` isn't a field on the User type, thus using the seperate
loaded teams.
- Add a space between `PathEscape` and argument.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
modules/context/org.go
templates/user/dashboard/navbar.tmpl