aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/dashboard.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 03:07:30 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 03:07:30 +0900
commit9ff9c151e5defd9eed5cba3c88bc341b4360d09c (patch)
treebf5b9e721274ffa58df66823d39f9ceadebc9f98 /frontend/app/routes/dashboard.tsx
parentff959dadb1f990173b9df3105ccfc96b1c6c092e (diff)
parent498ad23eaaae1e856c71f44ad0bf3912a6d7e5b7 (diff)
downloadphperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.gz
phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.zst
phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.zip
Merge branch 'feat/multiplayer-mode'
Diffstat (limited to 'frontend/app/routes/dashboard.tsx')
-rw-r--r--frontend/app/routes/dashboard.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index e23d7aa..e6a43de 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -42,7 +42,8 @@ export default function Dashboard() {
<ul className="list-disc list-inside">
{games.map((game) => (
<li key={game.game_id}>
- {game.display_name}{" "}
+ {game.display_name}
+ {game.game_type === "multiplayer" ? " (Multiplayer)" : " (1v1)"}
{game.state === "closed" || game.state === "finished" ? (
<span className="inline-block px-6 py-2 text-gray-400 bg-gray-200 cursor-not-allowed rounded">
Entry