mirror of
https://github.com/ow-mods/ow-mod-db.git
synced 2025-12-11 20:15:24 +01:00
fix sorting
This commit is contained in:
parent
8e40bb767c
commit
3a541d9f37
@ -43,7 +43,7 @@ export async function fetchMods(modsJson: string, gitHubToken: string) {
|
||||
per_page: 100,
|
||||
})
|
||||
).sort((releaseA, releaseB) =>
|
||||
new Date(releaseA.created_at) > new Date(releaseB.created_at) ? 1 : -1
|
||||
new Date(releaseA.created_at) < new Date(releaseB.created_at) ? 1 : -1
|
||||
);
|
||||
|
||||
const prereleaseList = fullReleaseList.filter(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user