From 78dd4787d388a39a913cc80e694d67933b0182d3 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Sun, 10 May 2026 23:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BD=D0=B0=D0=B4=D0=BF=D0=B8=D1=81=D1=8C=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B3=D0=BE=20=D1=81=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/itemList.tsx | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/app/components/itemList.tsx b/app/components/itemList.tsx index 14a8568..11aa187 100644 --- a/app/components/itemList.tsx +++ b/app/components/itemList.tsx @@ -9,14 +9,22 @@ export default function ItemList({ isFetching, blacklistItems, showDialog }: { i ) } else { - return ( -
-
- {blacklistItems.map((item) => { - return - })} + if (blacklistItems.length > 0){ + return ( +
+
+ {blacklistItems.map((item) => { + return + })} +
-
- ) + ) + } else { + return ( +
+

List is empty

+
+ ) + } } } \ No newline at end of file