We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14951f commit c600a4aCopy full SHA for c600a4a
src/renderer/src/pages/library/library-game-card-large.tsx
@@ -58,7 +58,9 @@ export const LibraryGameCardLarge = memo(function LibraryGameCardLarge({
58
window.electron
59
.getUnlockedAchievements(game.objectId, game.shop)
60
.then((achievements) => {
61
- setUnlockedAchievementsCount(achievements.length);
+ setUnlockedAchievementsCount(
62
+ achievements.filter((a) => a.unlocked).length
63
+ );
64
});
65
}, [game]);
66
0 commit comments