Skip to content

Session pages always show a zero credit balance #102

Description

@rissrice2105-agent

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

  1. Add 4,321 credits to a user.
  2. Sign in and open /sessions or /sessions/:id.
  3. The app bar displays 0 cr.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions