Merge branch 'develop' into sync-subtitle/audio-data

This commit is contained in:
Alex Kim
2026-05-31 14:36:11 +10:00
401 changed files with 43001 additions and 6855 deletions

View File

@@ -80,7 +80,7 @@ export const usePlaybackManager = ({
const { data: adjacentItems } = useQuery({
queryKey: ["adjacentItems", item?.Id, item?.SeriesId, isOffline],
queryFn: async (): Promise<BaseItemDto[] | null> => {
if (!item || !item.SeriesId) {
if (!item?.SeriesId) {
return null;
}