mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
fixed about page not showing menu items (#343)
This commit is contained in:
parent
abef29bf17
commit
c8240fe157
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ func GetHashesChanges(db store.IStore) echo.HandlerFunc {
|
||||||
func AboutPage() echo.HandlerFunc {
|
func AboutPage() echo.HandlerFunc {
|
||||||
return func(c echo.Context) error {
|
return func(c echo.Context) error {
|
||||||
return c.Render(http.StatusOK, "about.html", map[string]interface{}{
|
return c.Render(http.StatusOK, "about.html", map[string]interface{}{
|
||||||
"baseData": model.BaseData{Active: "about", CurrentUser: currentUser(c)},
|
"baseData": model.BaseData{Active: "about", CurrentUser: currentUser(c), Admin: isAdmin(c)},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue