From 06f757c23d0d9f7a2b86f6c828f886ee8e642e03 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 14 Jun 2022 20:40:25 +0200 Subject: Clean up game list logic. --- views/games_finished.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/games_finished.pug') diff --git a/views/games_finished.pug b/views/games_finished.pug index df7f038..26d0378 100644 --- a/views/games_finished.pug +++ b/views/games_finished.pug @@ -12,7 +12,7 @@ html else h1 #{who.name}’s finished games - if finished_games.length > 0 - +gamelist(finished_games) + if games.length > 0 + +gamelist(games) else p Nothing here. -- cgit v1.2.3