From bd4e09ecfe73ff4a1bb4e84a95aa1307f051976c Mon Sep 17 00:00:00 2001 From: donnyquixotic Date: Mon, 23 Oct 2023 17:15:04 -0500 Subject: [PATCH] fix: remove 'transfer' tab option on successful transfer --- src/pages/evm/nfts/NftDetailsPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/evm/nfts/NftDetailsPage.vue b/src/pages/evm/nfts/NftDetailsPage.vue index 2a6096e9b..6b0a64119 100644 --- a/src/pages/evm/nfts/NftDetailsPage.vue +++ b/src/pages/evm/nfts/NftDetailsPage.vue @@ -81,7 +81,6 @@ const loggedAccount = computed(() => ); async function startTransfer(){ - const nameString = `${nft.value.contractPrettyName || nft.value.contractAddress} #${nft.value.id}`; const dismiss = ant.config.notifyNeutralMessageHandler( $t('notification.neutral_message_sending', { quantity: nameString, address: address.value }), @@ -93,6 +92,7 @@ async function startTransfer(){ `${explorerUrl}/tx/${trx.hash}`, ); router.push({ query: { tab: 'attributes' } }); + tabs.value.pop(); // remove 'transfer' tab option }catch(e){ console.error(e); // tx error notification handled in store }