diff --git a/src/components/AuthRequiredView.vue b/src/components/AuthRequiredView.vue index 1e0a229b6..6f2507b88 100644 --- a/src/components/AuthRequiredView.vue +++ b/src/components/AuthRequiredView.vue @@ -70,7 +70,7 @@ export default { }, mounted() { const { login } = this.$route.query; - if (!this.walletIsMatchedSession && login) { + if (!this.getSessionWallet && login) { this.onClickLogin(); } }, diff --git a/src/components/EventModal/Collect/index.vue b/src/components/EventModal/Collect/index.vue index 8352f9a3d..49fcf0259 100644 --- a/src/components/EventModal/Collect/index.vue +++ b/src/components/EventModal/Collect/index.vue @@ -699,7 +699,7 @@ export default { try { switch (method) { case 'crypto': { - if (!this.getAddress) { + if (!this.getSessionWallet) { const isConnected = await this.connectWallet(); if (!isConnected) return; } @@ -731,7 +731,7 @@ export default { await this.collectNFTWithStripe(classId, { memo: this.memo }); break; case 'free': { - if (!this.getAddress) { + if (!this.getSessionWallet) { const isConnected = await this.connectWallet(); if (!isConnected) return; } diff --git a/src/components/SiteHeader.vue b/src/components/SiteHeader.vue index 01be790b3..5da43908c 100644 --- a/src/components/SiteHeader.vue +++ b/src/components/SiteHeader.vue @@ -56,21 +56,23 @@ - +