mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Add additional undefined check for custom filters
This commit is contained in:
parent
6d5e10a31c
commit
a9ca3f9083
3 changed files with 12 additions and 12 deletions
|
|
@ -87,13 +87,13 @@ export const useListStore = create<ListSlice>()(
|
|||
...state.item.song.filter,
|
||||
...state.detail[args.key]?.filter,
|
||||
_custom: {
|
||||
...state.detail[args.key]?.filter._custom,
|
||||
...state.detail[args.key]?.filter?._custom,
|
||||
jellyfin: {
|
||||
...state.detail[args.key]?.filter._custom.jellyfin,
|
||||
...state.detail[args.key]?.filter?._custom?.jellyfin,
|
||||
includeItemTypes: 'Audio',
|
||||
},
|
||||
navidrome: {
|
||||
...state.detail[args.key]?.filter._custom.navidrome,
|
||||
...state.detail[args.key]?.filter?._custom?.navidrome,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue