Problem
The signed-in session list and session detail pages call appBar(req.user, 0, ...), so the balance chip always displays zero credits even when the account has a funded ledger.
The dashboard, settings, device, and CLI authorization pages already read the real balance.
Reproduction
- Add 4,321 credits to a user.
- Sign in and open
/sessions or /sessions/:id.
- The app bar displays
0 cr.
- Open
/dashboard; the same account displays 4,321 cr.
Expected
Both session pages should use the account's current ledger balance, consistent with the other authenticated pages.
Problem
The signed-in session list and session detail pages call
appBar(req.user, 0, ...), so the balance chip always displays zero credits even when the account has a funded ledger.The dashboard, settings, device, and CLI authorization pages already read the real balance.
Reproduction
/sessionsor/sessions/:id.0 cr./dashboard; the same account displays4,321 cr.Expected
Both session pages should use the account's current ledger balance, consistent with the other authenticated pages.