mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-26 11:45:37 +00:00
bugfix: Rename "HideNavigation" to "ShowNavigation"
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
type webUISettings struct {
|
||||
Rest string
|
||||
ThemeName string
|
||||
HideNavigation bool
|
||||
ShowNavigation bool
|
||||
AvailableVersion string
|
||||
CurrentVersion string
|
||||
ShowNewVersions bool
|
||||
@@ -52,7 +52,7 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
|
||||
jsonRet, _ := json.Marshal(webUISettings{
|
||||
Rest: restAddress + "/api/",
|
||||
ThemeName: cfg.ThemeName,
|
||||
HideNavigation: cfg.HideNavigation,
|
||||
ShowNavigation: cfg.ShowNavigation,
|
||||
AvailableVersion: updatecheck.AvailableVersion,
|
||||
CurrentVersion: updatecheck.CurrentVersion,
|
||||
ShowNewVersions: cfg.ShowNewVersions,
|
||||
|
||||
Reference in New Issue
Block a user