Skip to content

Commit

Permalink
fix: Do not use txSelfMap for DELEGATION
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Nov 12, 2024
1 parent 9f7f082 commit 379f556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dashboard/Activity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 379f556

Please sign in to comment.