1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-26 07:13:41 +01:00

feat: list of releases can now be seen at the top (#2480)

This commit is contained in:
Amir Raminfar
2023-11-10 11:45:47 -08:00
committed by GitHub
parent 7dae54df26
commit 9fa4911aec
35 changed files with 458 additions and 197 deletions

View File

@@ -65,7 +65,7 @@ func (h *handler) executeTemplate(w http.ResponseWriter, req *http.Request) {
user := auth.UserFromContext(req.Context())
if user != nil {
if settings, err := profile.LoadUserSettings(user); err == nil {
if settings, err := profile.LoadUserSettings(*user); err == nil {
config["serverSettings"] = settings
} else {
config["serverSettings"] = struct{}{}