From 379f55630165a138a99e5645c01e8540089b2da3 Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Tue, 12 Nov 2024 14:44:11 +0100 Subject: [PATCH] fix: Do not use txSelfMap for DELEGATION --- scripts/dashboard/Activity.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dashboard/Activity.vue b/scripts/dashboard/Activity.vue index 501ee1231..c0f8c2b6d 100644 --- a/scripts/dashboard/Activity.vue +++ b/scripts/dashboard/Activity.vue @@ -221,7 +221,7 @@ async function parseTXs(arrTXs) { const match = content.match(/{(.)}/); if (match) { let who = ''; - if (cTx.isToSelf) { + if (cTx.isToSelf && cTx.type !== HistoricalTxType.DELEGATION) { who = translation.activitySelf; const descriptor = txSelfMap(cTx.amount, cTx.shieldAmount); icon = descriptor.icon;