aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 03:05:58 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 03:06:33 +0900
commitb17b32b5426baf2ce6bb18e5ecccb115061e70a2 (patch)
treeb7f8ae6165f8743bf3a3ebcb22a65d82bdf83834 /frontend
parent63d65d60fc121d6dfc2cdb6a2e23462a989880e0 (diff)
downloadiosdc-japan-2024-albatross-b17b32b5426baf2ce6bb18e5ecccb115061e70a2.tar.gz
iosdc-japan-2024-albatross-b17b32b5426baf2ce6bb18e5ecccb115061e70a2.tar.zst
iosdc-japan-2024-albatross-b17b32b5426baf2ce6bb18e5ecccb115061e70a2.zip
feat(frontend): show game type on dashboard
Diffstat (limited to 'frontend')
-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