From 9adea2471f8f16feda1b0f8af9dcdcf8fa1bd579 Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <0xsysr3ll@pm.me> Date: Tue, 25 Aug 2026 19:29:11 +0200 Subject: [PATCH] fix(ui): don't mark empty collections as available --- src/components/CollectionDetails/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/CollectionDetails/index.tsx b/src/components/CollectionDetails/index.tsx index a8ee90a684..b780b99f2d 100644 --- a/src/components/CollectionDetails/index.tsx +++ b/src/components/CollectionDetails/index.tsx @@ -179,6 +179,7 @@ const CollectionDetails = ({ collection }: CollectionDetailsProps) => { if (isCollectionBlocklisted) { collectionStatus = MediaStatus.BLOCKLISTED; } else if ( + data.parts.length > 0 && data.parts.every( (part) => part.mediaInfo && part.mediaInfo.status === MediaStatus.AVAILABLE @@ -195,6 +196,7 @@ const CollectionDetails = ({ collection }: CollectionDetailsProps) => { } if ( + data.parts.length > 0 && data.parts.every( (part) => part.mediaInfo && part.mediaInfo.status4k === MediaStatus.AVAILABLE