Fix admin nav rendering on user viewing

admin-dashboard-redesign
Matt Baer 5 years ago
parent 9fe528bf47
commit f903388a28
  1. 1
      admin.go

@ -245,6 +245,7 @@ func handleViewAdminUser(app *App, u *User, w http.ResponseWriter, r *http.Reque
TotalPosts int64 TotalPosts int64
ClearEmail string ClearEmail string
}{ }{
AdminPage: NewAdminPage(app),
Config: app.cfg.App, Config: app.cfg.App,
Message: r.FormValue("m"), Message: r.FormValue("m"),
Colls: []inspectedCollection{}, Colls: []inspectedCollection{},

Loading…
Cancel
Save