Skip to content

Commit

Permalink
Merge branch 'HS-1040983-amount-mapping' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandall22 committed Oct 27, 2023
2 parents b7787e0 + 832f4af commit 8b62c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class ProductConfigFormController {
setDefaultAmount () {
const amountOptions = isEmpty(this.suggestedAmounts)
? this.selectableAmounts
: map(this.suggestedAmounts, 'AMOUNT')
: map(this.suggestedAmounts, 'amount')

if (this.itemConfig.AMOUNT) {
if (amountOptions.indexOf(this.itemConfig.AMOUNT) === -1) {
Expand Down

0 comments on commit 8b62c7c

Please sign in to comment.