Public Access
feat(library): show set total playtime on dashboard cards
Most played and currently playing cards show the total playtime of the game set. Use the own minutes when the API sends no total.
This commit is contained in:
1 parent
f1a6bc0443
commit
9adc606c57
5 files changed
+44
-6
No files matched your search
@@ -40,7 +40,7 @@ export default function CurrentlyPlayingCard({games, syncing, wide}) {
|
||||
<FitText text={g.name ?? `App ${g.appid}`}/>
|
||||
</div>
|
||||
<div className="text-xs text-muted-foreground tabular-nums">
|
||||
{formatPlaytime(g.playtimeMinutes)}
|
||||
{formatPlaytime(g.totalPlaytimeMinutes ?? g.playtimeMinutes)}
|
||||
</div>
|
||||
</Link>
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user