mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Update item metadata pages sort
This commit is contained in:
parent
edbe1851b5
commit
fe25a1bc54
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue