From 7c831285714aaf90116fe14be2b823655ca2d230 Mon Sep 17 00:00:00 2001 From: William Chong Date: Mon, 23 Dec 2024 02:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20Guard=20undefined=20isHidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/nft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/nft.js b/src/mixins/nft.js index 97921bb66..7cc13fc3f 100644 --- a/src/mixins/nft.js +++ b/src/mixins/nft.js @@ -568,7 +568,7 @@ export default { }, isNFTHidden() { return ( - this.getNFTBookStoreInfoByClassId(this.classId).isHidden || + this.getNFTBookStoreInfoByClassId(this.classId)?.isHidden || this.getNFTClassHiddenSetByAddress(this.iscnOwner)?.has(this.classId) ); },