From b5a3a7a89fcaf86dd794dc419711677b53646577 Mon Sep 17 00:00:00 2001 From: sct Date: Sun, 3 Jan 2021 14:03:14 +0000 Subject: [PATCH] fix(frontend): change titlecard to only have a request button --- src/components/TitleCard/index.tsx | 109 ++++------------------------- 1 file changed, 15 insertions(+), 94 deletions(-) diff --git a/src/components/TitleCard/index.tsx b/src/components/TitleCard/index.tsx index 53bc35d7d..7f428d04b 100644 --- a/src/components/TitleCard/index.tsx +++ b/src/components/TitleCard/index.tsx @@ -201,7 +201,13 @@ const TitleCard: React.FC = ({ }} >
-
+
{year &&
{year}
}

@@ -210,7 +216,11 @@ const TitleCard: React.FC = ({
= ({
- - - - - - - - {(!currentStatus || currentStatus === MediaStatus.UNKNOWN) && ( - )} - {currentStatus === MediaStatus.PENDING && ( - - )} - {currentStatus === MediaStatus.PROCESSING && ( - - )} - {(currentStatus === MediaStatus.AVAILABLE || - currentStatus === MediaStatus.PARTIALLY_AVAILABLE) && ( - )}