Skip to content

Commit

Permalink
πŸ› Fix cannot read book after login
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Feb 13, 2025
1 parent 7dee711 commit 65dec58
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/reader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 65dec58

Please sign in to comment.