diff options
| author | Adam Soltys <[email protected]> | 2026-08-05 11:56:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-05 11:56:53 -0700 |
| commit | 1307f8930283393fcf987cfa7e5cfa054676396a (patch) | |
| tree | 7d31e3355d217ca531f0db8ab95ca59d7d402523 /src/app.js | |
| parent | 399a100248792fe8d6aaf19849eab3ee3baa1984 (diff) | |
| download | coinosv3-1307f8930283393fcf987cfa7e5cfa054676396a.tar.gz coinosv3-1307f8930283393fcf987cfa7e5cfa054676396a.zip | |
Spending trusts its own ledger: gifts read persisted ark state, and Savings keeps its pending line to itself
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M5kFodm9azZJVTQxnkDdKe
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2525,9 +2525,11 @@ function balanceCard() { h('div', { class: 'amt', style: firstLoad ? 'opacity:.3' : '' }, firstLoad ? h('span', { class: 'spinner sm', style: 'margin-right:8px' }) : null, animatedAmount('bal:' + sel, isSpending ? spending : saving), ' ', unitTag('unit')), - pending > 0 || featLines.length + (pending > 0 && !isSpending) || featLines.length ? h('div', { class: 'split' }, - pending > 0 + // Pending incoming is an on-chain fact — it belongs to the Saving + // face, not to whichever account happens to be showing. + pending > 0 && !isSpending ? h('div', {}, h('div', { class: 'k' }, t('pending')), h('div', { class: 'v pending' }, fmtAmount(pending), ' ', unitTag())) : null, ...featLines.map((l) => |
