diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index fcc9e02bff..f960552ba3 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -855,6 +855,8 @@ export default { const confirmed = await new Promise(resolve => { this.$root.$emit('habitica:purchase-confirm', { message: this.$t('purchasePetItemConfirm', { itemText: this.item.text }), + currency: this.item.currency, + cost: this.item.value * this.selectedAmountToBuy, resolve, }); }); diff --git a/website/client/src/mixins/buy.js b/website/client/src/mixins/buy.js index 11d7b9dba9..8ad849cbdb 100644 --- a/website/client/src/mixins/buy.js +++ b/website/client/src/mixins/buy.js @@ -43,6 +43,8 @@ export default { return new Promise(resolve => { this.$root.$emit('habitica:purchase-confirm', { message: this.$t(purchaseForKey, { cost }), + currency, + cost, resolve, }); });