We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572f096 commit e544a27Copy full SHA for e544a27
routers/web/org/teams.go
@@ -276,6 +276,10 @@ func NewTeam(ctx *context.Context) {
276
ctx.Data["PageIsOrgTeamsNew"] = true
277
ctx.Data["Team"] = &org_model.Team{}
278
ctx.Data["Units"] = unit_model.Units
279
+ if err := shared_user.LoadHeaderCount(ctx); err != nil {
280
+ ctx.ServerError("LoadHeaderCount", err)
281
+ return
282
+ }
283
ctx.HTML(http.StatusOK, tplTeamNew)
284
}
285
@@ -463,6 +467,10 @@ func EditTeam(ctx *context.Context) {
463
467
ctx.ServerError("LoadUnits", err)
464
468
return
465
469
470
471
472
473
466
474
ctx.Data["Team"] = ctx.Org.Team
475
476
0 commit comments