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>
</div> </div>
))} ))}
<DropdownMenuSeparator /> {currentGroups.length > 0 && <DropdownMenuSeparator />}
{editState == "none" && ( {editState == "none" && (
<Button <Button
className="text-primary-foreground justify-start" className="text-primary-foreground justify-start"