You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like a simple fix. en-croissant/src/components/home/AccountCard.tsx line 144 const percentage = ((downloadedGames / total) * 100).toFixed(2);. Just need to add an if statement for if total is 0. What would the expected result be here though? 100%? 0%?
I can add in the fix if anybody has thoughts on what the expected result should be?
gm-m
linked a pull request
Jan 7, 2025
that will
close
this issue
Describe the bug
When you use a Lichess (not tested with chess.com, used browser sign-in) account with NO GAMES PLAYED, it will show NaN% as the download persentage.


Reproduction
Platform and versions
Windows 11 Pro 23E2 Build 22631.3958,
Version: 0.10.0
Tauri version: 1.6.1
Stack trace
No response
The text was updated successfully, but these errors were encountered: