Skip to content

Commit

Permalink
Merge pull request #9094 from DavidResende0/control-action-attribute/…
Browse files Browse the repository at this point in the history
…value-fix

Fixed Incorrect Values Being Displayed When Editing Action
  • Loading branch information
jeffibm authored Feb 22, 2024
2 parents 5f1e8f0 + e29e387 commit 9d906b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/action-form/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const constructAeHash = (aeHashPairs) => {
const options = [];
const aeHashAttribute = Object.keys(aeHashPairs);
aeHashAttribute.forEach((pt) => {
const tempObj = { attribute: pt, value: Object.values(aeHashPairs)[0] };
const tempObj = { attribute: pt, value: aeHashPairs[pt] };
options.push(tempObj);
});
return options;
Expand Down

0 comments on commit 9d906b9

Please sign in to comment.