diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-21 20:08:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-23 12:58:45 +0100 |
commit | 47446095ce57908dd4d83452a9430905e9fcc263 (patch) | |
tree | df824bace1d269721f03068f089455760b764e19 /views/games_public.pug | |
parent | 6bc0c7f7352779ff3b39e5053ca62f332e4228e7 (diff) | |
download | server-47446095ce57908dd4d83452a9430905e9fcc263.tar.gz |
Limit number of games shown on public games page.
Diffstat (limited to 'views/games_public.pug')
-rw-r--r-- | views/games_public.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/games_public.pug b/views/games_public.pug index e1a5387..b91dd61 100644 --- a/views/games_public.pug +++ b/views/games_public.pug @@ -1,8 +1,8 @@ //- vim:ts=4:sw=4: -- let open_games = games.filter(game => game.status === 0 && !game.is_ready) -- let ready_games = games.filter(game => game.status === 0 && game.is_ready) -- let replacement_games = games.filter(game => game.status === 1 && !game.is_ready) -- let active_games = games.filter(game => game.status === 1 && game.is_ready) +- let open_games = games0.filter(game => game.status === 0 && !game.is_ready) +- let ready_games = games0.filter(game => game.status === 0 && game.is_ready) +- let replacement_games = games0.filter(game => game.status === 1 && !game.is_ready) +- let active_games = games1.filter(game => game.status === 1 && game.is_ready) doctype html html head |