mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Fix daily download limits not displaying in Settings UI
getSettings() in api.js remaps the /settings response through a fixed field whitelist, which dropped download_daily_limit_global/per_domain before they reached the SettingsContext. The values saved correctly but always rendered empty. Add both fields to the mapping. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
706e22bd8f
commit
e513e36496
1 changed files with 2 additions and 0 deletions
|
|
@ -315,6 +315,8 @@ export async function getSettings() {
|
|||
archive_destination: content.archive_destination,
|
||||
download_manager_disabled: content.download_manager_disabled,
|
||||
download_manager_stopped: content.download_manager_stopped,
|
||||
download_daily_limit_global: content.download_daily_limit_global,
|
||||
download_daily_limit_per_domain: content.download_daily_limit_per_domain,
|
||||
download_on_startup: content.download_on_startup,
|
||||
download_timeout: content.download_timeout,
|
||||
download_wait: content.download_wait,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue