mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-09 16:17:53 -05:00
feat: add a setting for special episodes (#1193)
* feat: add a setting for special episodes This PR adds a separate setting for special episodes and disables them by default, to avoid unwanted library status updates. * refactor(settings): re-order setting for allow specials request --------- Co-authored-by: fallenbagel <98979876+Fallenbagel@users.noreply.github.com>
This commit is contained in:
@@ -301,7 +301,9 @@ const TvDetails = ({ tv }: TvDetailsProps) => {
|
||||
};
|
||||
|
||||
const showHasSpecials = data.seasons.some(
|
||||
(season) => season.seasonNumber === 0
|
||||
(season) =>
|
||||
season.seasonNumber === 0 &&
|
||||
settings.currentSettings.partialRequestsEnabled
|
||||
);
|
||||
|
||||
const isComplete =
|
||||
@@ -799,6 +801,11 @@ const TvDetails = ({ tv }: TvDetailsProps) => {
|
||||
{data.seasons
|
||||
.slice()
|
||||
.reverse()
|
||||
.filter(
|
||||
(season) =>
|
||||
settings.currentSettings.enableSpecialEpisodes ||
|
||||
season.seasonNumber !== 0
|
||||
)
|
||||
.map((season) => {
|
||||
const show4k =
|
||||
settings.currentSettings.series4kEnabled &&
|
||||
|
||||
Reference in New Issue
Block a user