|
@ -28,7 +28,6 @@ func Teams(ctx *middleware.Context) { |
|
|
ctx.Data["Title"] = org.FullName |
|
|
ctx.Data["Title"] = org.FullName |
|
|
ctx.Data["PageIsOrgTeams"] = true |
|
|
ctx.Data["PageIsOrgTeams"] = true |
|
|
|
|
|
|
|
|
// org.Teams is already loaded by middleware
|
|
|
|
|
|
for _, t := range org.Teams { |
|
|
for _, t := range org.Teams { |
|
|
if err := t.GetMembers(); err != nil { |
|
|
if err := t.GetMembers(); err != nil { |
|
|
ctx.Handle(500, "GetMembers", err) |
|
|
ctx.Handle(500, "GetMembers", err) |
|
|