mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 13:09:41 +00:00
fix(amazon gift): do not reset the gift amount when opening the amazon modal
This commit is contained in:
parent
1c1f270f64
commit
f93c67e57c
1 changed files with 3 additions and 1 deletions
|
|
@ -145,7 +145,9 @@ export default {
|
|||
this.close();
|
||||
},
|
||||
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.sendingInProgress = false;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue