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:
Roland 2026-06-28 17:30:33 -06:00
parent 706e22bd8f
commit e513e36496
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -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,