mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
🪙 a11y: Improved Readability of Tokens (#7643)
Co-authored-by: Helge Wiethoff <helge.wiethoff@thga.de>
This commit is contained in:
parent
d3a504857a
commit
80bc49db8d
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ function AccountSettings() {
|
||||||
{startupConfig?.balance?.enabled === true && balanceQuery.data != null && (
|
{startupConfig?.balance?.enabled === true && balanceQuery.data != null && (
|
||||||
<>
|
<>
|
||||||
<div className="text-token-text-secondary ml-3 mr-2 py-2 text-sm" role="note">
|
<div className="text-token-text-secondary ml-3 mr-2 py-2 text-sm" role="note">
|
||||||
{localize('com_nav_balance')}: {balanceQuery.data.tokenCredits.toFixed(2)}
|
{localize('com_nav_balance')}:{' '}
|
||||||
|
{new Intl.NumberFormat().format(Math.round(balanceQuery.data.tokenCredits))}
|
||||||
</div>
|
</div>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue