mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 19:13:33 +00:00
Show latest version if the app has multiple versions
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user