Skip to content

Commit

Permalink
Fix toggle switch for single resource acl
Browse files Browse the repository at this point in the history
  • Loading branch information
heisbrot committed Jan 27, 2025
1 parent ca88b04 commit 3894eb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/access-control/table/AccessControlActiveCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export default function AccessControlActiveCell({ policy }: Readonly<Props>) {
return group.id;
}) as string[])
: [];
if (rule.destinationResource) {
rule.destinations = null;
}
});

updatePolicy(
Expand Down

0 comments on commit 3894eb9

Please sign in to comment.