mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-01-06 05:40:26 -06:00
Filter this down to music libraries
This commit is contained in:
@@ -64,7 +64,7 @@ export function fetchUserViews() : Promise<BaseItemDto[]> {
|
||||
})
|
||||
.then((response) => {
|
||||
if (response.data.Items)
|
||||
resolve(response.data.Items)
|
||||
resolve(response.data.Items.filter(library => library.CollectionType === 'music'))
|
||||
|
||||
else
|
||||
resolve([])
|
||||
|
||||
Reference in New Issue
Block a user