From 54334bb6fda79be6f8d509a54a827d1345079c75 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Mon, 23 Aug 2021 12:11:28 +0300 Subject: [PATCH] display filter only when necessary --- .../pages/Account/History/PublishedList.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/pages/Account/History/PublishedList.tsx b/src/components/pages/Account/History/PublishedList.tsx index 5f8fad32a..c2610aa2c 100644 --- a/src/components/pages/Account/History/PublishedList.tsx +++ b/src/components/pages/Account/History/PublishedList.tsx @@ -58,11 +58,16 @@ export default function PublishedList({ return accountId ? (
- + {queryResult?.results?.length > 0 ? ( + + ) : ( + '' + )} +