Show latest version if the app has multiple versions

This commit is contained in:
foxster-mp4
2023-07-18 11:40:58 -07:00
parent 8ed7aa4bc1
commit 2b2b279e13
3 changed files with 12 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ main((json) => {
document.title = `Apps - ${json.name}`;
// Sort apps in decending order of version date (newest first)
json.apps.sort((a, b) => (new Date(b.versionDate)).valueOf() - (new Date(a.versionDate)).valueOf());
// json.apps.sort((a, b) => (new Date(b.versionDate)).valueOf() - (new Date(a.versionDate)).valueOf());
// Create & insert app items
json.apps.forEach(app => {