mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 03:20:17 +00:00
Fix admin nav rendering on user viewing
This commit is contained in:
parent
9fe528bf47
commit
f903388a28
1 changed files with 4 additions and 3 deletions
7
admin.go
7
admin.go
|
@ -245,9 +245,10 @@ func handleViewAdminUser(app *App, u *User, w http.ResponseWriter, r *http.Reque
|
||||||
TotalPosts int64
|
TotalPosts int64
|
||||||
ClearEmail string
|
ClearEmail string
|
||||||
}{
|
}{
|
||||||
Config: app.cfg.App,
|
AdminPage: NewAdminPage(app),
|
||||||
Message: r.FormValue("m"),
|
Config: app.cfg.App,
|
||||||
Colls: []inspectedCollection{},
|
Message: r.FormValue("m"),
|
||||||
|
Colls: []inspectedCollection{},
|
||||||
}
|
}
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in a new issue