fix artist discography year filter (#299)

This commit is contained in:
Kendall Garner 2023-10-17 13:05:36 +00:00 committed by GitHub
parent f6667a39a0
commit 1a948ab86b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,11 +152,11 @@ export const NavidromeAlbumFilters = ({
customFilters, customFilters,
data: { data: {
_custom: { _custom: {
...filter._custom,
navidrome: { navidrome: {
...filter._custom?.navidrome, ...filter._custom?.navidrome,
year: e === '' ? undefined : (e as number), year: e === '' ? undefined : (e as number),
}, },
...filter._custom,
}, },
}, },
itemType: LibraryItem.ALBUM, itemType: LibraryItem.ALBUM,