mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-13 20:10:07 +02:00
null songCount and albumCount in genre type
This commit is contained in:
@@ -101,9 +101,11 @@ const getGenres = (
|
||||
_itemType: LibraryItem.GENRE,
|
||||
_serverId: server?.id || 'unknown',
|
||||
_serverType: ServerType.SUBSONIC,
|
||||
albumCount: null,
|
||||
id: genre.name,
|
||||
imageUrl: null,
|
||||
name: genre.name,
|
||||
songCount: null,
|
||||
}))
|
||||
: item.genre
|
||||
? [
|
||||
@@ -111,9 +113,11 @@ const getGenres = (
|
||||
_itemType: LibraryItem.GENRE,
|
||||
_serverId: server?.id || 'unknown',
|
||||
_serverType: ServerType.SUBSONIC,
|
||||
albumCount: null,
|
||||
id: item.genre,
|
||||
imageUrl: null,
|
||||
name: item.genre,
|
||||
songCount: null,
|
||||
},
|
||||
]
|
||||
: [];
|
||||
|
||||
Reference in New Issue
Block a user