mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-27 03:22:53 +00:00
preserve addonId when creating obj thisweekepisode
This commit is contained in:
parent
f15fe80d3a
commit
67b16c27f3
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ interface CalendarEpisode {
|
||||||
vote_average: number;
|
vote_average: number;
|
||||||
still_path: string | null;
|
still_path: string | null;
|
||||||
season_poster_path: string | null;
|
season_poster_path: string | null;
|
||||||
|
addonId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CalendarSection {
|
interface CalendarSection {
|
||||||
|
|
@ -219,6 +220,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
|
||||||
vote_average: tmdbEpisode.vote_average || 0,
|
vote_average: tmdbEpisode.vote_average || 0,
|
||||||
still_path: tmdbEpisode.still_path || null,
|
still_path: tmdbEpisode.still_path || null,
|
||||||
season_poster_path: tmdbEpisode.season_poster_path || null
|
season_poster_path: tmdbEpisode.season_poster_path || null
|
||||||
|
addonId: series.addonId,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -245,6 +247,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
|
||||||
vote_average: 0,
|
vote_average: 0,
|
||||||
still_path: null,
|
still_path: null,
|
||||||
season_poster_path: null
|
season_poster_path: null
|
||||||
|
addonId: series.addonId,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -265,6 +268,7 @@ export const useCalendarData = (): UseCalendarDataReturn => {
|
||||||
vote_average: 0,
|
vote_average: 0,
|
||||||
still_path: null,
|
still_path: null,
|
||||||
season_poster_path: null
|
season_poster_path: null
|
||||||
|
addonId: series.addonId,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue