mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix(amazon gift): do not reset the gift amount when opening the amazon modal
This commit is contained in:
@@ -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;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user