Fix admin nav rendering on page editing

This commit is contained in:
Matt Baer 2020-02-25 15:01:24 -05:00
parent 303144fd24
commit 9fe528bf47

View file

@ -443,8 +443,9 @@ func handleViewAdminPage(app *App, u *User, w http.ResponseWriter, r *http.Reque
Banner *instanceContent
Content *instanceContent
}{
Config: app.cfg.App,
Message: r.FormValue("m"),
AdminPage: NewAdminPage(app),
Config: app.cfg.App,
Message: r.FormValue("m"),
}
var err error