mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-28 01:29:27 +01:00
Update item metadata pages sort
This commit is contained in:
parent
edbe1851b5
commit
fe25a1bc54
@ -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)
|
||||
|
@ -3,13 +3,13 @@
|
||||
<app-settings-content :header-text="'Item Metadata Utils'">
|
||||
<nuxt-link to="/config/item-metadata-utils/tags" class="block w-full rounded bg-primary/40 hover:bg-primary/60 text-gray-300 hover:text-white p-4 mt-6 mb-2">
|
||||
<div class="flex justify-between">
|
||||
<p>Manage Tags</p>
|
||||
<p>{{ $strings.HeaderManageTags }}</p>
|
||||
<span class="material-icons">arrow_forward</span>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
<nuxt-link to="/config/item-metadata-utils/genres" class="block w-full rounded bg-primary/40 hover:bg-primary/60 text-gray-300 hover:text-white p-4 my-2">
|
||||
<div class="flex justify-between">
|
||||
<p>Manage Genres</p>
|
||||
<p>{{ $strings.HeaderManageGenres }}</p>
|
||||
<span class="material-icons">arrow_forward</span>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
|
@ -151,7 +151,7 @@ export default {
|
||||
this.$axios
|
||||
.$get('/api/tags')
|
||||
.then((data) => {
|
||||
this.tags = data.tags || []
|
||||
this.tags = (data.tags || []).sort((a, b) => a.localeCompare(b, undefined, { sensitivity: 'base' }))
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to load tags', error)
|
||||
|
Loading…
Reference in New Issue
Block a user