fix(settings): track dirty state across all inputs
This commit is contained in:
@@ -390,7 +390,18 @@ def settings_page(workspace_id: str) -> None:
|
||||
|
||||
for element in (entry_basis_mode, entry_price, gold_value, gold_ounces):
|
||||
element.on_value_change(update_entry_basis)
|
||||
for element in (loan_amount, margin_threshold, ltv_warning, email_alerts):
|
||||
for element in (
|
||||
loan_amount,
|
||||
margin_threshold,
|
||||
monthly_budget,
|
||||
ltv_warning,
|
||||
vol_alert,
|
||||
price_alert,
|
||||
email_alerts,
|
||||
primary_source,
|
||||
fallback_source,
|
||||
refresh_interval,
|
||||
):
|
||||
element.on_value_change(update_calculations)
|
||||
|
||||
apply_entry_basis_mode()
|
||||
|
||||
Reference in New Issue
Block a user