From 62cff6ce84ea17d3480e13be78859a69ba84a815 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sun, 12 May 2024 12:41:56 -0300 Subject: [PATCH] fix: playtime not showing on UI --- src/renderer/src/pages/game-details/hero/hero-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/pages/game-details/hero/hero-panel.tsx b/src/renderer/src/pages/game-details/hero/hero-panel.tsx index 138f27ecb..9dafc720e 100644 --- a/src/renderer/src/pages/game-details/hero/hero-panel.tsx +++ b/src/renderer/src/pages/game-details/hero/hero-panel.tsx @@ -106,7 +106,7 @@ export function HeroPanel({ ); } - if (game && GameStatusHelper.isReady(game?.status ?? null)) { + if (game && GameStatusHelper.isReady(game?.status ?? GameStatus.Finished)) { return ; }