Browse Source

Fix admin nav rendering on user viewing

admin-dashboard-redesign
Matt Baer 4 years ago
parent
commit
f903388a28
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      admin.go

+ 4
- 3
admin.go View File

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

var err error


Loading…
Cancel
Save