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