From 72e92be0cba4f49776e1eb0ec40e16f7b7ade25d Mon Sep 17 00:00:00 2001 From: yessenia Date: Wed, 11 Feb 2026 04:40:05 +0800 Subject: [PATCH] fix: update showViewMore logic in CollectionHeader to improve visibility conditions for marketplace collections --- .../components/plugins/marketplace/list/collection-list.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/components/plugins/marketplace/list/collection-list.tsx b/web/app/components/plugins/marketplace/list/collection-list.tsx index 76297960f9..47c601c9b7 100644 --- a/web/app/components/plugins/marketplace/list/collection-list.tsx +++ b/web/app/components/plugins/marketplace/list/collection-list.tsx @@ -49,8 +49,9 @@ export function CollectionHeader({ carouselCollectionNames, viewMore, }: CollectionHeaderProps) { - const showViewMore = collection.searchable - && (carouselCollectionNames.includes(collection.name) || itemsLength > GRID_DISPLAY_LIMIT) + const showViewMore = (collection.searchable || collection.search_params) + && !carouselCollectionNames.includes(collection.name) + && itemsLength > GRID_DISPLAY_LIMIT return (