Files
sure/app/controllers/concerns
Jeff Rowberg b1b2793e43 Skip unnecessary sync when account balance unchanged on update (#1040)
The update action was calling set_current_balance (which triggers
sync_later internally) on every form submission, even when the balance
hadn't changed. This caused the account to enter a syncing state,
replacing the visible balance with a pulsing skeleton placeholder
until the sync completed.

Now we compare the submitted balance against the current value and
only call set_current_balance when it actually differs. Also removes
a redundant sync_later call that duplicated the one already inside
set_current_balance.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 08:47:31 -06:00
..
2025-03-05 13:44:56 -06:00
2024-10-18 11:26:58 -05:00