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/games_public.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'views/games_public.pug') 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 -- cgit v1.2.3