From c074a86113fa414a2d7d71c821620d7ef7f58d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 13 Jun 2024 12:36:23 +0200 Subject: [PATCH] Groups: Do not display duplicated create button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- src/features/groups/index.tsx | 2 +- src/utils/features.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/groups/index.tsx b/src/features/groups/index.tsx index 0e371bf36..200016579 100644 --- a/src/features/groups/index.tsx +++ b/src/features/groups/index.tsx @@ -59,7 +59,7 @@ const Groups: React.FC = () => { return ( - {canCreateGroup && ( + {canCreateGroup && !(!isLoading && groups.length === 0) && (