use bs5 alpha2, config description changes

alpha2's new close buttons are used, also fixed html_templates
settings being automatically filled in with an incorrect value.
This commit is contained in:
Harvey Tindall
2020-10-23 14:39:04 +01:00
parent 29775e2e75
commit 8089187b3e
8 changed files with 45 additions and 23 deletions
+3 -1
View File
@@ -47,7 +47,9 @@ func (app *appContext) loadConfig() error {
// if key.MustString("") == "" && key.Name() != "custom_css" {
// key.SetValue(filepath.Join(app.data_path, (key.Name() + ".json")))
// }
key.SetValue(key.MustString(filepath.Join(app.data_path, (key.Name() + ".json"))))
if key.Name() != "html_templates" {
key.SetValue(key.MustString(filepath.Join(app.data_path, (key.Name() + ".json"))))
}
}
for _, key := range []string{"user_configuration", "user_displayprefs", "user_profiles", "ombi_template"} {
// if app.config.Section("files").Key(key).MustString("") == "" {