mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
invert version sorting for plugins
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
3489d716b2
commit
c86306e6a7
@ -23,7 +23,7 @@ function populateVersions(packageInfo, page, installedPlugin) {
|
||||
let html = '';
|
||||
|
||||
packageInfo.versions.sort((a, b) => {
|
||||
return b.timestamp < a.timestamp ? 1 : -1;
|
||||
return b.timestamp < a.timestamp ? -1 : 1;
|
||||
});
|
||||
|
||||
for (let i = 0; i < packageInfo.versions.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user