preserve addonId when creating obj thisweekepisode

This commit is contained in:
chrisk325 2025-12-30 16:05:18 +05:30 committed by GitHub
parent f15fe80d3a
commit 67b16c27f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,7 @@ interface CalendarEpisode {
vote_average: number;
still_path: string | null;
season_poster_path: string | null;
addonId?: string;
}
interface CalendarSection {
@ -219,6 +220,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
vote_average: tmdbEpisode.vote_average || 0,
still_path: tmdbEpisode.still_path || null,
season_poster_path: tmdbEpisode.season_poster_path || null
addonId: series.addonId,
};
@ -245,6 +247,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
vote_average: 0,
still_path: null,
season_poster_path: null
addonId: series.addonId,
}
};
}
@ -265,6 +268,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
vote_average: 0,
still_path: null,
season_poster_path: null
addonId: series.addonId,
}
};
}