From b75862398d54219591c9287bf4109d9022656eae Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 8 Jan 2024 17:29:57 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8E=20Added=20a=20check=20for=20existi?= =?UTF-8?q?ng=20uncompressed=20archives?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ComicDetail/Tabs/ArchiveOperations.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/client/components/ComicDetail/Tabs/ArchiveOperations.tsx b/src/client/components/ComicDetail/Tabs/ArchiveOperations.tsx index d42d286..49c90b4 100644 --- a/src/client/components/ComicDetail/Tabs/ArchiveOperations.tsx +++ b/src/client/components/ComicDetail/Tabs/ArchiveOperations.tsx @@ -183,15 +183,17 @@ export const ArchiveOperations = (props): ReactElement => { ) : null}
- + {!data.rawFileDetails?.archive?.uncompressed ? ( + + ) : null} {!isEmpty(uncompressedArchive) ? (
@@ -216,9 +218,7 @@ export const ArchiveOperations = (props): ReactElement => { data={uncompressedArchive} onClickHandler={openImageAnalysisPanel} /> - ) : ( - "asdas" - )} + ) : null}