mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-02 00:19:32 -05: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