From f93c67e57c8a8f8874241814db02ccef209c28c9 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Wed, 24 Oct 2018 20:29:27 +0200 Subject: [PATCH] fix(amazon gift): do not reset the gift amount when opening the amazon modal --- website/client/components/payments/sendGemsModal.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/client/components/payments/sendGemsModal.vue b/website/client/components/payments/sendGemsModal.vue index 791ebe0ae5..47fde4a46b 100644 --- a/website/client/components/payments/sendGemsModal.vue +++ b/website/client/components/payments/sendGemsModal.vue @@ -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; },