From 65dec58e2640d764678a2ccba5244c64e80de317 Mon Sep 17 00:00:00 2001 From: "Ng Wing Tat, David" Date: Thu, 13 Feb 2025 23:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20cannot=20read=20book=20aft?= =?UTF-8?q?er=20login?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/reader.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/reader.vue b/src/pages/reader.vue index af6f8577f..b3ab9f989 100644 --- a/src/pages/reader.vue +++ b/src/pages/reader.vue @@ -143,9 +143,10 @@ export default { this.lazyFetchNFTOwners(), ]); if ( - (!this.userCollectedCount && this.isLoginRequired) || - (this.nftCollectorWalletAddress && - this.nftCollectorWalletAddress !== this.getSessionWallet) + this.isLoginRequired && + (!this.userCollectedCount || + (this.nftCollectorWalletAddress && + this.nftCollectorWalletAddress !== this.getSessionWallet)) ) { this.$router.replace( this.localeLocation({