add replay check in overview
This commit is contained in:
parent
083fc0463c
commit
98c05304c5
4 changed files with 32 additions and 3 deletions
|
|
@ -91,6 +91,7 @@ app.use('/', async (req, res, next) => {
|
|||
const games = [
|
||||
...Game.getAllGames().map(game => ({
|
||||
id: game.id,
|
||||
hasReplay: GameLog.exists(game.id),
|
||||
started: Game.getStartTs(game.id),
|
||||
finished: Game.getFinishTs(game.id),
|
||||
tilesFinished: Game.getFinishedTileCount(game.id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue