summaryrefslogtreecommitdiff
path: root/public/join.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-03 23:17:26 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-03 23:17:26 +0100
commit4893b04955ee32c0f98c0f5a51804916a5713f89 (patch)
tree6dce53468aa609faaab71ba1618f8c6dc13525a5 /public/join.js
parent3c0df0cfaf0d3e52b9d7ec166a468e09d0cdf5a9 (diff)
downloadserver-4893b04955ee32c0f98c0f5a51804916a5713f89.tar.gz
Don't show pool size in "Registered" panel.
Diffstat (limited to 'public/join.js')
-rw-r--r--public/join.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/join.js b/public/join.js
index 9228481..286e400 100644
--- a/public/join.js
+++ b/public/join.js
@@ -329,6 +329,8 @@ function create_game_list() {
if (game.pool_name) {
create_game_list_item(list, "Tournament", `<a href="/tm/pool/${game.pool_name}">${game.pool_name}</a>`)
+ if (game.scenario !== "Standard")
+ create_game_list_item(list, "Scenario", game.scenario)
} else {
if (game.scenario !== "Standard")
create_game_list_item(list, "Scenario", game.scenario)