mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-30 22:31:03 +00:00
hero-panel show HeroPanelPlaytime
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user