Reverse order of multiple test cases (#64)
This commit is contained in:
parent
ad49d095e1
commit
ce21f1f004
|
@ -122,6 +122,9 @@ function processGame(game) {
|
|||
let currentDate = new Date();
|
||||
model.date = `${currentDate.toISOString()}`;
|
||||
|
||||
// Reverse the order of the testcases array, so that the newest ones are displayed first
|
||||
model.testcases = model.testcases.reverse();
|
||||
|
||||
// SHORTCUTS BLOCK
|
||||
// Parse testcase information out of the dat to reinject as shortcut values.
|
||||
if (model.testcases == null || model.testcases.length == 0) {
|
||||
|
|
Reference in New Issue