Skip to content

Commit

Permalink
Merge pull request #479 from thisaltennakoon/main
Browse files Browse the repository at this point in the history
Fixed the issue in updating Key Manager after Advanced Configuration changes
  • Loading branch information
thisaltennakoon committed Jul 5, 2023
2 parents 5de5d7c + 5dbce6b commit 87816f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ export default function KeyValidation(props) {
setjwtValue(newjwt);
};
const onDelete = (claimKey) => {
const newMapping = { ...tokenValidation.value };
if (newMapping.body) {
delete newMapping.body[claimKey];
const newMapping = { ...tokenValidation };
if (newMapping.value.body) {
delete newMapping.value.body[claimKey];
}
setTokenValidation(newMapping);
};
Expand Down

0 comments on commit 87816f1

Please sign in to comment.