Repository navigation
fix(topup): add currency symbol to amounts in RechargeCard #1952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f354e5d
✨ feat(layout): refine footer visibility logic to target CardPro comp…
t0ng7u c4e0fc1
chore: go version & sonic dep
seefs001 0735b0c
feat(i18n): add and update French translations
comeback01 c320410
feat: add doubao video generate
feitianbubu b244a06
feat: add doubao video use quota by total token
feitianbubu 7ca65a5
feat: add doubao video add log detail
feitianbubu 2290acc
fix(topup): add currency symbol to amounts in RechargeCard
kyubibii acbfc9d
Merge pull request #1951 from feitianbubu/pr/add-doubao-video
seefs001 0769184
Merge pull request #1956 from QuantumNous/alpha
Calcium-Ion 01469aa
refactor(adaptor): extract common header operations into a separate f…
Calcium-Ion 81a66be
chore(docker): switch from MySQL to PostgreSQL in docker-compose conf…
Calcium-Ion b0b275b
chore(docker): add comment for compatibility with older Docker versions
Calcium-Ion 6ee01d7
Merge branch 'main' into french-translation-final
comeback01 9061411
Merge pull request #1940 from comeback01/french-translation-final
Calcium-Ion f473d20
Merge pull request #1932 from seefs001/chore/upgrade-deps
Calcium-Ion 0074085
Merge remote-tracking branch 'origin/main'
Calcium-Ion df19a8d
✨ feat(layout): refine footer visibility logic to target CardPro comp…
t0ng7u 36ed41a
Merge remote-tracking branch 'origin/pr/console-footer' into pr/conso…
Calcium-Ion ace855e
refactor(footer): update footer links and localization text
Calcium-Ion 19bbb7d
Merge pull request #1890 from QuantumNous/pr/console-footer
Calcium-Ion 0682a15
Merge remote-tracking branch 'origin/main'
Calcium-Ion 01bcbf0
✨ feat(api): add header override processing with variable support
Calcium-Ion 66d0764
✨ docs: update README files to include Japanese language support
Calcium-Ion b0b6ab2
feat(web): add privacy policy and user agreement settings & pages
kyubibii f44f682
Merge branch 'main' of https://github.com/QuantumNous/new-api
kyubibii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid hardcoding the USD symbol here
This UI previously respected whatever currency the backend/formatters supplied; forcing a literal “$” now mislabels every non-USD top up (e.g., CNY users will see dollars). Pull the symbol from config/props (e.g.,
topupInfo?.currency_symbol) or reuse the existing formatter instead of hardcoding.📝 Committable suggestion
🤖 Prompt for AI Agents