From 47446095ce57908dd4d83452a9430905e9fcc263 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 21 Feb 2023 20:08:49 +0100 Subject: Limit number of games shown on public games page. --- views/info.pug | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/info.pug') diff --git a/views/info.pug b/views/info.pug index d60f79f..8eb1d40 100644 --- a/views/info.pug +++ b/views/info.pug @@ -1,9 +1,9 @@ //- 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 finished_games = games.filter(game => game.status === 2) +- 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 = games1.filter(game => game.status === 1 && !game.is_ready) +- let active_games = games1.filter(game => game.status === 1 && game.is_ready) +- let finished_games = games2 doctype html html head -- cgit v1.2.3