From fe510180bad4cb8cc54278039d5e7fca0cb0f321 Mon Sep 17 00:00:00 2001 From: Emre Kanatli Date: Thu, 7 Jan 2021 16:37:22 -0500 Subject: [PATCH] Fix bug where an nft gets added assets dict --- src/components/SidePanels/TxHistoryValue.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/SidePanels/TxHistoryValue.vue b/src/components/SidePanels/TxHistoryValue.vue index e1cec8d9b..8c1dbdbae 100644 --- a/src/components/SidePanels/TxHistoryValue.vue +++ b/src/components/SidePanels/TxHistoryValue.vue @@ -106,8 +106,10 @@ export default class TxHistoryValue extends Vue { } created() { - if (!this.asset) { - this.$store.dispatch('Assets/addUnknownAsset', this.assetId) + if (this.type === 'base') { + if (!this.asset) { + this.$store.dispatch('Assets/addUnknownAsset', this.assetId) + } } } }