mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-07 23:28:02 -05:00
fix(blacklist): add back the blacklist button on TitleCard for Plex (#1463)
The PR #1398 introduced an issue where the blacklist button was not visible anymore on the TitleCards for Plex. This PR fixes it.
This commit is contained in:
@@ -373,11 +373,10 @@ const TitleCard = ({
|
|||||||
: intl.formatMessage(globalMessages.tvshow)}
|
: intl.formatMessage(globalMessages.tvshow)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{showDetail &&
|
{showDetail && currentStatus !== MediaStatus.BLACKLISTED && (
|
||||||
currentStatus !== MediaStatus.BLACKLISTED &&
|
|
||||||
user?.userType !== UserType.PLEX && (
|
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
{toggleWatchlist ? (
|
{user?.userType !== UserType.PLEX &&
|
||||||
|
(toggleWatchlist ? (
|
||||||
<Button
|
<Button
|
||||||
buttonType={'ghost'}
|
buttonType={'ghost'}
|
||||||
className="z-40"
|
className="z-40"
|
||||||
@@ -394,7 +393,7 @@ const TitleCard = ({
|
|||||||
>
|
>
|
||||||
<MinusCircleIcon className={'h-3'} />
|
<MinusCircleIcon className={'h-3'} />
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
))}
|
||||||
{showHideButton &&
|
{showHideButton &&
|
||||||
currentStatus !== MediaStatus.PROCESSING &&
|
currentStatus !== MediaStatus.PROCESSING &&
|
||||||
currentStatus !== MediaStatus.AVAILABLE &&
|
currentStatus !== MediaStatus.AVAILABLE &&
|
||||||
|
|||||||
Reference in New Issue
Block a user