mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-10 22:19:11 +00:00
Revert "fix(amazon): make sure to use up to date data"
This reverts commit 298a79b58d.
This commit is contained in:
parent
201085651b
commit
bc91dd81e9
1 changed files with 1 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ export default {
|
|||
this.buttonId = `AmazonPayButton-${uuid.v4()}`;
|
||||
},
|
||||
mounted () {
|
||||
this.amazonPaymentsInit(this.amazonData);
|
||||
this.amazonPaymentsInit(this.amazonData); // TOOD clone
|
||||
if (this.isAmazonReady) return this.setupAmazon();
|
||||
|
||||
this.$store.watch(state => state.isAmazonReady, (isAmazonReady) => {
|
||||
|
|
@ -90,8 +90,6 @@ export default {
|
|||
this.$root.$emit('habitica::pay-with-amazon', this.amazonPayments);
|
||||
},
|
||||
authorization: () => {
|
||||
this.amazonPaymentsInit(this.amazonData);
|
||||
|
||||
window.amazon.Login.authorize({
|
||||
scope: 'payments:widget',
|
||||
popup: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue