From bb38f384e82acd8b7d30bf53150a5d0059462f92 Mon Sep 17 00:00:00 2001 From: "Ng Wing Tat, David" Date: Tue, 22 Nov 2022 01:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20collectable=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: William Chong <6198816+williamchong@users.noreply.github.com> --- 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 c3f6f2480..c255ad2db 100644 --- a/src/mixins/nft.js +++ b/src/mixins/nft.js @@ -154,7 +154,7 @@ export default { return this.purchaseInfo.price; }, nftIsCollectable() { - return this.NFTPrice !== -1; + return this.NFTPrice && this.NFTPrice !== -1; }, formattedNFTPriceInLIKE() { return this.NFTPrice ? formatNumberWithLIKE(this.NFTPrice) : '-';