"backend/internal/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "4d676dddd1af9571bbc79f0a7aff7aea077baf19"
Commit f571d8ff authored by erio's avatar erio
Browse files

fix(notify): write back auto-filled recharge URL to form on save

parent 48b6c481
......@@ -3606,7 +3606,7 @@ async function saveSettings() {
// Balance & quota notification
balance_low_notify_enabled: form.balance_low_notify_enabled,
balance_low_notify_threshold: Number(form.balance_low_notify_threshold) || 0,
balance_low_notify_recharge_url: form.balance_low_notify_recharge_url || currentOrigin,
balance_low_notify_recharge_url: (form.balance_low_notify_recharge_url = form.balance_low_notify_recharge_url || currentOrigin),
account_quota_notify_enabled: form.account_quota_notify_enabled,
account_quota_notify_emails: (form.account_quota_notify_emails || []).filter((e) => e.email.trim() !== ''),
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment