[web] Add album/track count in genre views

This commit is contained in:
chme
2022-03-26 21:43:23 +01:00
parent 7598a71aea
commit 01f4f8b137
4 changed files with 52 additions and 19 deletions

View File

@@ -297,6 +297,10 @@ export default {
},
library_genre(genre) {
return axios.get(`./api/library/genres/${encodeURIComponent(genre)}`)
},
library_genre_albums(genre) {
const genreParams = {
type: 'albums',
media_kind: 'music',