From dbfb862a14faacb9585bda304f23e4a6a8e646a0 Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Sat, 12 Oct 2024 14:52:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Enable=20content=20viewing=20usi?= =?UTF-8?q?ng=20ownedNFTId=20instead=20of=20lastOwnedNFTId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NFTPortfolio/Item.vue | 22 +++++++++++++++++----- src/components/NFTPortfolio/MainView.vue | 1 + src/store/modules/nft.js | 5 ++++- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/components/NFTPortfolio/Item.vue b/src/components/NFTPortfolio/Item.vue index 0a54d2df6..be43ccb10 100644 --- a/src/components/NFTPortfolio/Item.vue +++ b/src/components/NFTPortfolio/Item.vue @@ -24,7 +24,7 @@ :display-state="nftDisplayState" :is-nft-book="nftIsNFTBook" :portfolio-tab="portfolioTab" - :is-content-viewable="!(nftIsNFTBook && !isOwningNFT)" + :is-content-viewable="isContentViewable" :is-content-downloadable="!nftIsDownloadHidden" :collect-expiry-time="collectExpiryTime" @collect="handleClickCollect" @@ -39,12 +39,11 @@