Skip to content

Commit

Permalink
fix(auth-admin): Removed Legal guardian minor delegation type from ac…
Browse files Browse the repository at this point in the history
…cess control (#16676)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
GunnlaugurG and kodiakhq[bot] authored Nov 4, 2024
1 parent 37504e0 commit e41dd82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export const DelegationsIncoming = () => {
) : (
<Stack space={3}>
{delegations.map((delegation) => {
if (delegation.type === AuthDelegationType.LegalGuardianMinor)
return null

const isCustom = delegation.type === AuthDelegationType.Custom
const isGeneralMandate =
delegation.type === AuthDelegationType.GeneralMandate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ export const DelegationsOutgoing = () => {
) : (
<Stack space={3}>
{filteredDelegations.map((delegation) => {
if (delegation.type === AuthDelegationType.LegalGuardianMinor)
return null

const isGeneralMandate =
delegation.type === AuthDelegationType.GeneralMandate

Expand Down

0 comments on commit e41dd82

Please sign in to comment.