mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-09 04:38:49 +00:00
fix(ui): show registry provider logos and capitalize registry labels (#12985)
This commit is contained in:
1 parent
f44ea4b6fa
commit
d8bdc8553f
20 files changed
+416
-50
No files matched your search
@@ -17,6 +17,7 @@ import type {
|
||||
RegistryCredentialSchema,
|
||||
RegistryCredentialValue,
|
||||
} from "@/lib/provider-credentials/provider-credential-schema";
|
||||
import { formatRegistryLabel } from "@/lib/registry/labels";
|
||||
|
||||
interface RegistryCredentialFieldsProps {
|
||||
readonly errors: Readonly<Record<string, string | undefined>>;
|
||||
@@ -107,7 +108,7 @@ export function RegistryCredentialFields({
|
||||
<SelectContent>
|
||||
{field.options?.map((option) => (
|
||||
<SelectItem key={option} value={option}>
|
||||
{option}
|
||||
{formatRegistryLabel(option)}
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
|
||||
Reference in new issue
Block a user