From fb5eeebdf79345d02bc664955629c6afcf70a082 Mon Sep 17 00:00:00 2001 From: lorumic Date: Thu, 8 Jun 2023 12:21:01 +0200 Subject: [PATCH] fix(cluster-list) move empty states out of the table --- src/pages/cluster/ClusterList.tsx | 146 +++++++++++++++--------------- 1 file changed, 75 insertions(+), 71 deletions(-) diff --git a/src/pages/cluster/ClusterList.tsx b/src/pages/cluster/ClusterList.tsx index aacc7b273..893c97433 100644 --- a/src/pages/cluster/ClusterList.tsx +++ b/src/pages/cluster/ClusterList.tsx @@ -72,78 +72,82 @@ const ClusterList: FC = () => {
- - - ) : activeGroup ? ( - -

- - Learn more about clustering - - -

- -
- ) : ( - 0 && ( + <> + + + } + /> + + + + )} + {!isLoading && + isClustered && + activeGroup && + filteredMembers.length < 1 && ( + +

+ -

- - Learn more about clustering - - -

-
- ) - } - /> -
- + Learn more about clustering + + +

+ + + )} + {!isClustered && ( + +

+ + Learn more about clustering + + +

+
+ )}