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

@ -92,8 +92,8 @@ local print_page_body = function()
field = "ntp_sync_enabled",
default = ternary(date_time_config.ntp_sync.enabled, "1", "0"),
to_switch = dateTimeElementsToSwitch,
redis_prefix = "",
reverse_switch = true,
local_store = true, -- do not store on redis
})
local showEnabled = ternary(date_time_config.ntp_sync.enabled, false, true)