Skip to content

Commit

Permalink
fix: playtime not showing on UI
Browse files Browse the repository at this point in the history
  • Loading branch information
zamitto committed May 12, 2024
1 parent 042dc77 commit 62cff6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/pages/game-details/hero/hero-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function HeroPanel({
);
}

if (game && GameStatusHelper.isReady(game?.status ?? null)) {
if (game && GameStatusHelper.isReady(game?.status ?? GameStatus.Finished)) {
return <HeroPanelPlaytime game={game} isGamePlaying={isGamePlaying} />;
}

Expand Down

0 comments on commit 62cff6c

Please sign in to comment.