diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 03:05:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 03:06:33 +0900 |
| commit | b17b32b5426baf2ce6bb18e5ecccb115061e70a2 (patch) | |
| tree | b7f8ae6165f8743bf3a3ebcb22a65d82bdf83834 /frontend | |
| parent | 63d65d60fc121d6dfc2cdb6a2e23462a989880e0 (diff) | |
| download | iosdc-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.tsx | 3 |
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 |
