Update item metadata pages sort

This commit is contained in:
advplyr 2022-12-18 15:16:32 -06:00
parent edbe1851b5
commit fe25a1bc54
3 changed files with 4 additions and 4 deletions

View file

@ -151,7 +151,7 @@ export default {
this.$axios
.$get('/api/genres')
.then((data) => {
this.genres = data.genres || []
this.genres = (data.genres || []).sort((a, b) => a.localeCompare(b, undefined, { sensitivity: 'base' }))
})
.catch((error) => {
console.error('Failed to load genres', error)