mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
Don't show separator if user has no groups
This commit is contained in:
parent
92cfb7bc16
commit
a2cfadedb6
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user