Added some fun-tuning of Permissions table of Authorization (#30894)

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2024-07-01 14:20:31 +01:00 committed by GitHub
parent add45a25a8
commit 3874a141f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ const AssociatedPoliciesRenderer = ({
}) => { }) => {
return ( return (
<> <>
{row.associatedPolicies?.[0]?.name}{" "} {row.associatedPolicies?.[0]?.name || "—"}{" "}
<MoreLabel array={row.associatedPolicies} /> <MoreLabel array={row.associatedPolicies} />
</> </>
); );
@ -320,7 +320,7 @@ export const AuthorizationPermissions = ({
<Td> <Td>
<AssociatedPoliciesRenderer row={permission} /> <AssociatedPoliciesRenderer row={permission} />
</Td> </Td>
<Td>{permission.description}</Td> <Td>{permission.description || "—"}</Td>
<Td <Td
actions={{ actions={{
items: [ items: [