From b8247f9573ce6e28efe3cb5721cbcfab1bb64669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiesner=20Andr=C3=A1s?= Date: Tue, 26 Mar 2024 10:23:49 +0100 Subject: [PATCH] - list only concluded games --- js/gamemgr.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/gamemgr.js b/js/gamemgr.js index c7ffa61..f55697a 100644 --- a/js/gamemgr.js +++ b/js/gamemgr.js @@ -228,7 +228,9 @@ function list_results_by_game(game) { }); // sort records by ID results.forEach((record) => { - console.log(record); + if (record["state"] !== "concluded") { + return; + } let test_summary_record = document.createElement("section"); test_summary_record.classList.add("test-summary-record");