fix(amazon gift): do not reset the gift amount when opening the amazon modal

This commit is contained in:
Matteo Pagliazzi
2018-10-24 20:29:27 +02:00
parent 1c1f270f64
commit f93c67e57c

View File

@@ -145,7 +145,9 @@ export default {
this.close(); this.close();
}, },
onHide () { onHide () {
this.gift.gems.amount = 0; // TODO this breaks amazon purchases because when the amazon modal
// is opened this one is closed and the amount reset
// this.gift.gems.amount = 0;
this.gift.message = ''; this.gift.message = '';
this.sendingInProgress = false; this.sendingInProgress = false;
}, },