mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -05:00
Testing that nearly-empty configs are ignored on import. Adding setting to disable automatic upgrade checking.
This commit is contained in:
parent
3e3ab04f4d
commit
5b29144d70
16 changed files with 1180 additions and 13 deletions
|
|
@ -318,6 +318,7 @@ export function SettingsPage() {
|
|||
hotspot_on_startup: settings.hotspot_on_startup,
|
||||
hotspot_password: settings.hotspot_password,
|
||||
hotspot_ssid: settings.hotspot_ssid,
|
||||
check_for_upgrades: settings.check_for_upgrades,
|
||||
ignore_outdated_zims: settings.ignore_outdated_zims,
|
||||
log_level: fromApiLogLevel(settings.log_level),
|
||||
map_destination: settings.map_destination,
|
||||
|
|
@ -398,6 +399,15 @@ export function SettingsPage() {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<div style={{margin: '0.5em'}}>
|
||||
<Toggle
|
||||
label='Check for upgrades hourly'
|
||||
disabled={disabled || state.check_for_upgrades === null}
|
||||
checked={state.check_for_upgrades === true}
|
||||
onChange={checked => handleInputChange(null, 'check_for_upgrades', checked)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<FormGroup inline>
|
||||
<FormInput
|
||||
label={<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue