From 7fa2c029af4815aec0f5a7d327c8889d4b2b5f33 Mon Sep 17 00:00:00 2001 From: grimsi <9295182+grimsi@users.noreply.github.com> Date: Tue, 3 Jun 2025 17:50:16 +0200 Subject: [PATCH] Show updatedAt in FE --- gameyfin/src/main/frontend/views/GameView.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gameyfin/src/main/frontend/views/GameView.tsx b/gameyfin/src/main/frontend/views/GameView.tsx index a45b40f..28826ef 100644 --- a/gameyfin/src/main/frontend/views/GameView.tsx +++ b/gameyfin/src/main/frontend/views/GameView.tsx @@ -10,7 +10,7 @@ import {DownloadEndpoint} from "Frontend/endpoints/endpoints"; import {gameState, initializeGameState} from "Frontend/state/GameState"; import {useSnapshot} from "valtio/react"; import GameDto from "Frontend/generated/de/grimsi/gameyfin/games/dto/GameDto"; -import {TriangleDashed} from "@phosphor-icons/react"; +import {Info, TriangleDashed} from "@phosphor-icons/react"; export default function GameView() { const {gameId} = useParams(); @@ -64,8 +64,16 @@ export default function GameView() {

{game.title}

-

{game.release !== undefined ? new Date(game.release).getFullYear() : -

no data

}

+
+

+ {game.release !== undefined ? new Date(game.release).getFullYear() : +

no data

} +

+ + + +
{downloadOptions &&