mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
fix(blacklist): hide items from MediaSliders when hideBlacklisted is enabled (#1713)
This PR hides the blacklisted items from the MediaSliders appearing on the homepage when the hideBlacklisted is enabled.
This commit is contained in:
@@ -74,6 +74,14 @@ const MediaSlider = ({
|
||||
);
|
||||
}
|
||||
|
||||
if (settings.currentSettings.hideBlacklisted) {
|
||||
titles = titles.filter(
|
||||
(i) =>
|
||||
(i.mediaType === 'movie' || i.mediaType === 'tv') &&
|
||||
i.mediaInfo?.status !== MediaStatus.BLACKLISTED
|
||||
);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (
|
||||
titles.length < 24 &&
|
||||
|
||||
Reference in New Issue
Block a user