mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 04:21:52 +00:00
chore(roles): prevent capitalization of provider groups and roles (#6497)
This commit is contained in:
@@ -22,11 +22,7 @@ export const ColumnGroups: ColumnDef<ProviderGroup>[] = [
|
||||
const {
|
||||
attributes: { name },
|
||||
} = getProviderData(row);
|
||||
return (
|
||||
<p className="text-small font-medium">
|
||||
{name.charAt(0).toUpperCase() + name.slice(1).toLowerCase()}
|
||||
</p>
|
||||
);
|
||||
return <p className="text-small font-medium">{name}</p>;
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -26,11 +26,7 @@ export const ColumnsRoles: ColumnDef<RolesProps["data"][number]>[] = [
|
||||
),
|
||||
cell: ({ row }) => {
|
||||
const data = getRoleAttributes(row);
|
||||
return (
|
||||
<p className="font-semibold">
|
||||
{data.name[0].toUpperCase() + data.name.slice(1).toLowerCase()}
|
||||
</p>
|
||||
);
|
||||
return <p className="font-semibold">{data.name}</p>;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user