From 812ad20bf01a19f0003d21c1b46807cdc31a21ea Mon Sep 17 00:00:00 2001 From: Atharva Sharma Date: Fri, 17 Oct 2025 22:44:43 +0530 Subject: [PATCH] Fix: Conditional rendering for select buttons --- src/components/CatalogueContent.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CatalogueContent.tsx b/src/components/CatalogueContent.tsx index ce9c290..419937c 100644 --- a/src/components/CatalogueContent.tsx +++ b/src/components/CatalogueContent.tsx @@ -421,7 +421,7 @@ const CatalogueContent = () => { {/* Select/Deselect/Download All Buttons */} - + {papers.length > 0 && (
Select All @@ -429,10 +429,11 @@ const CatalogueContent = () => { Deselect All + Download Selected -
+ )} {relatedSubjects.length > 0 && (