From 64b77b8c721805b3d7266caa507125c5fa7bac3c Mon Sep 17 00:00:00 2001 From: Tempe Techie <95053628+tempe-techie@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:51:25 +0200 Subject: [PATCH] hide token number from metadata name --- pages/nft/collection.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/nft/collection.vue b/pages/nft/collection.vue index 75e076e..29c7797 100644 --- a/pages/nft/collection.vue +++ b/pages/nft/collection.vue @@ -907,7 +907,7 @@ export default { console.log(metadata); if (metadata?.name) { - this.cName = metadata.name; + this.cName = metadata.name.replace("#1", ""); } if (metadata?.description) { @@ -936,7 +936,7 @@ export default { const metadata = response.data; if (metadata?.name) { - this.cName = metadata.name; + this.cName = metadata.name.replace("#1", ""); } if (metadata?.description) {