chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-04-15 16:55:34 -07:00
parent 0bdda4b7a4
commit ce24c35a20
No known key found for this signature in database
17 changed files with 33 additions and 19 deletions

View file

@ -34,6 +34,10 @@ export const searchIndex = (collection) => {
return searchIndex
}
export const artistsIndex = (collection) => collection.getAll()[0].data.musicCharts.year.artists
export const albumsIndex = (collection) => collection.getAll()[0].data.musicCharts.year.albums
export const tagList = (collection) => {
const tagsSet = new Set()
collection.getAll().forEach((item) => {