Groups: Do not display duplicated create button

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-06-13 12:36:23 +02:00
parent 6a39428ce9
commit c074a86113
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ const Groups: React.FC = () => {
return (
<Stack space={4}>
{canCreateGroup && (
{canCreateGroup && !(!isLoading && groups.length === 0) && (
<Button
className='xl:hidden'
icon={require('@tabler/icons/outline/circles.svg')}