bugfix: Rename "HideNavigation" to "ShowNavigation"

This commit is contained in:
Russell Jones
2022-03-22 20:04:27 +00:00
parent 81c26d997d
commit 5bd90adc1f
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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,