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:
Gauthier
2025-06-13 21:48:26 +02:00
committed by GitHub
parent fb8677f29c
commit d4a6cb268a

View File

@@ -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 &&