Fix nedge system setup toggles (do not use redis)

This commit is contained in:
Alfredo Cardigliano 2024-03-01 18:36:07 +01:00
parent 8c80fe895d
commit cf2a9eff59
6 changed files with 11 additions and 9 deletions

View file

@ -50,9 +50,9 @@ local function print_wifi_page_body()
description = i18n("appliance.enable_wifi_descr"),
content = "",
field = "wifi_enabled",
redis_prefix = "",
default = ternary(wifi_config.enabled, "1", "0"),
to_switch = elementToSwitch,
local_store = true, -- do not store on redis
})
prefsInputFieldPrefs(