mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
hero-panel show HeroPanelPlaytime
This commit is contained in:
parent
de178d672e
commit
95a7922806
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export function HeroPanel() {
|
||||||
const getInfo = () => {
|
const getInfo = () => {
|
||||||
if (isGameDeleting(game?.id ?? -1)) return <p>{t("deleting")}</p>;
|
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 />;
|
return <HeroPanelPlaytime />;
|
||||||
|
|
||||||
if (game?.status === "active") {
|
if (game?.status === "active") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue