mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
hero-panel show HeroPanelPlaytime
This commit is contained in:
@@ -35,7 +35,7 @@ export function HeroPanel() {
|
||||
const getInfo = () => {
|
||||
if (isGameDeleting(game?.id ?? -1)) return <p>{t("deleting")}</p>;
|
||||
|
||||
if (game?.progress === 1 || game?.playTimeInMilliseconds)
|
||||
if (game && (game.progress === 1 || !game.status))
|
||||
return <HeroPanelPlaytime />;
|
||||
|
||||
if (game?.status === "active") {
|
||||
|
||||
Reference in New Issue
Block a user