citra-emu
/
citra-web
Archived
1
0
Fork 0

Do not reverse testcases by date, as this is now done server-side.

This commit is contained in:
chris062689 2018-07-29 19:56:33 -04:00
parent 426a89cfb2
commit da2a5aa59c
1 changed files with 2 additions and 3 deletions

View File

@ -60,10 +60,9 @@ async function run() {
// In Hugo, data keys need to be strings. // In Hugo, data keys need to be strings.
x.compatibility = x.compatibility.toString() x.compatibility = x.compatibility.toString()
// Hugo requires compatibility to be a string to link to data JSON.
x.testcases.forEach(x => x.compatibility = x.compatibility.toString()) x.testcases.forEach(x => x.compatibility = x.compatibility.toString())
// Reverse the testcases so the most recent ones show up top.
x.testcases = x.testcases.reverse()
x.issues = x.issues.filter(x => x.state === 'open') || [] x.issues = x.issues.filter(x => x.state === 'open') || []
// Copy the boxart for the game. // Copy the boxart for the game.