diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-04-10 13:25:02 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-04-15 14:34:52 +0200 |
commit | b8b68ed6e4c886f47b59b404d44e433251f36606 (patch) | |
tree | fe92950d3bdd57e1a1a6b9fb79311cae5131be60 /server.js | |
parent | 67529b69ff666397886fa48403d76954c8bc6f9c (diff) | |
download | server-b8b68ed6e4c886f47b59b404d44e433251f36606.tar.gz |
Add link to public games in header.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1065,7 +1065,6 @@ app.get('/games/active', must_be_logged_in, function (req, res) { let active_games = games.filter(game => game.status === 1); let finished_games = games.filter(game => game.status === 2); res.render('games_active.pug', { - title: "Your Active Games", user: req.user, open_games: open_games.filter(g => !g.is_ready), ready_games: open_games.filter(g => g.is_ready), @@ -1079,7 +1078,6 @@ app.get('/games/finished', must_be_logged_in, function (req, res) { let games = QUERY_LIST_FINISHED_GAMES_OF_USER.all({user_id: req.user.user_id}); annotate_games(games, req.user.user_id); res.render('games_finished.pug', { - title: "Your Finished Games", user: req.user, finished_games: games, }); |