Fix languages alphabetical sort
This commit is contained in:
parent
58af76dc4e
commit
7c77ace9a7
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ export class ServerService {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
if (sort === true) sortBy(hashToPopulate, 'label')
|
if (sort === true) {
|
||||||
|
hashToPopulate.sort((a, b) => a.label.localeCompare(b.label))
|
||||||
|
}
|
||||||
|
|
||||||
return hashToPopulate
|
return hashToPopulate
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue