Don't show separator if user has no groups

This commit is contained in:
Nicolas Mowen 2024-03-06 14:36:40 -07:00
parent 92cfb7bc16
commit a2cfadedb6

View File

@ -246,7 +246,7 @@ function NewGroupDialog({ open, setOpen, currentGroups }: NewGroupDialogProps) {
</div>
</div>
))}
<DropdownMenuSeparator />
{currentGroups.length > 0 && <DropdownMenuSeparator />}
{editState == "none" && (
<Button
className="text-primary-foreground justify-start"