Merge branch 'development' of github.com:jeffvli/feishin into development

This commit is contained in:
Kendall Garner 2024-02-04 10:24:24 -08:00
commit 73c6ddd116
No known key found for this signature in database
GPG key ID: 18D2767419676C87
4 changed files with 48 additions and 27 deletions

View file

@ -251,7 +251,16 @@ const HomeRoute = () => {
property: 'name',
route: {
route: AppRoute.LIBRARY_ALBUMS_DETAIL,
slugs: [{ idProperty: 'id', slugProperty: 'albumId' }],
slugs: [
{
idProperty:
server?.type === ServerType.JELLYFIN &&
carousel.itemType === LibraryItem.SONG
? 'albumId'
: 'id',
slugProperty: 'albumId',
},
],
},
},
{
@ -272,7 +281,16 @@ const HomeRoute = () => {
itemType={carousel.itemType}
route={{
route: AppRoute.LIBRARY_ALBUMS_DETAIL,
slugs: [{ idProperty: 'id', slugProperty: 'albumId' }],
slugs: [
{
idProperty:
server?.type === ServerType.JELLYFIN &&
carousel.itemType === LibraryItem.SONG
? 'albumId'
: 'id',
slugProperty: 'albumId',
},
],
}}
title={{
label: (