Skip to content

Commit

Permalink
Update feedback structure for overrideReason
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Patterson committed Aug 25, 2020
1 parent b7a1448 commit 5cfb22e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/CardList/card-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,13 @@ export class CardList extends Component {

if (reason && reason.code) {
cardFeedback.overrideReason = {
code: reason.code,
reason: {
code: reason.code,
},
};

if (reason.system) {
cardFeedback.overrideReason.system = reason.system;
cardFeedback.overrideReason.reason.system = reason.system;
}
}

Expand Down

0 comments on commit 5cfb22e

Please sign in to comment.