refactor: filter gitlab repositories by groupName

This commit is contained in:
Mauricio Siu
2024-09-01 12:34:05 -06:00
parent 1be580807f
commit 6c7b1c6c7c
4 changed files with 32 additions and 4 deletions

View File

@@ -231,6 +231,11 @@ export const SaveGitlabProvider = ({ applicationId }: Props) => {
<CommandEmpty>No repositories found.</CommandEmpty>
<ScrollArea className="h-96">
<CommandGroup>
{repositories && repositories.length === 0 && (
<CommandEmpty>
No repositories found.
</CommandEmpty>
)}
{repositories?.map((repo) => {
return (
<CommandItem