summaryrefslogtreecommitdiff
path: root/views/games_finished.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-14 20:40:25 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-14 21:09:48 +0200
commit06f757c23d0d9f7a2b86f6c828f886ee8e642e03 (patch)
tree56771af9be14e393e2753a70c7080f5558e28014 /views/games_finished.pug
parentae02f4cde98879b6fddc12c87c4fd3c5663d493e (diff)
downloadserver-06f757c23d0d9f7a2b86f6c828f886ee8e642e03.tar.gz
Clean up game list logic.
Diffstat (limited to 'views/games_finished.pug')
-rw-r--r--views/games_finished.pug4
1 files changed, 2 insertions, 2 deletions
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}&rsquo;s finished games
- if finished_games.length > 0
- +gamelist(finished_games)
+ if games.length > 0
+ +gamelist(games)
else
p Nothing here.