chore(roles): prevent capitalization of provider groups and roles (#6497)

This commit is contained in:
Pablo Lara
2025-01-14 10:41:08 +01:00
committed by GitHub
parent 6715aa351f
commit 1108d90768
2 changed files with 2 additions and 10 deletions
@@ -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>;
},
},
+1 -5
View File
@@ -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>;
},
},
{