Fixed cannot read from undefined (#3647)
This commit is contained in:
parent
e463f99d40
commit
6af2a6ea17
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ export const AuthorizationEvaluateResourcePolicies = ({
|
||||||
<Td>{t(`${outerPolicy.policy?.decisionStrategy?.toLowerCase()}`)}</Td>
|
<Td>{t(`${outerPolicy.policy?.decisionStrategy?.toLowerCase()}`)}</Td>
|
||||||
<Td>
|
<Td>
|
||||||
{outerPolicy.status === DecisionEffect.Permit
|
{outerPolicy.status === DecisionEffect.Permit
|
||||||
? resource.policies?.[rowIndex].scopes?.join(", ")
|
? resource.policies?.[rowIndex]?.scopes?.join(", ")
|
||||||
: "-"}
|
: "-"}
|
||||||
</Td>
|
</Td>
|
||||||
<Td>
|
<Td>
|
||||||
|
|
Loading…
Reference in a new issue