Fix sorting issue
This commit is contained in:
1 file changed
+1
-1
@@ -194,7 +194,7 @@ export default function Installs () {
|
|||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
const infoA = getVersionInfo(a)
|
const infoA = getVersionInfo(a)
|
||||||
const infoB = getVersionInfo(b)
|
const infoB = getVersionInfo(b)
|
||||||
if (!infoA || !infoB) return -1
|
if (!infoA || !infoB) return 0
|
||||||
return infoB.place - infoA.place
|
return infoB.place - infoA.place
|
||||||
})
|
})
|
||||||
.filter(v => {
|
.filter(v => {
|
||||||
|
|||||||
Reference in new issue
Block a user