mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 21:16:17 +02:00
Add additional undefined check for custom filters
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user