diff --git a/src/modules/[chain]/account/[address].vue b/src/modules/[chain]/account/[address].vue index 42dea9cd..d65eb557 100644 --- a/src/modules/[chain]/account/[address].vue +++ b/src/modules/[chain]/account/[address].vue @@ -229,7 +229,12 @@ function updateEvent() { {{ format.formatToken(delegationItem?.balance) }}
- ≈${{ format.tokenValue(delegationItem?.balance) }} + {{ + format.calculatePercent( + delegationItem?.balance?.amount, + totalAmount + ) + }}
- {{ - format.calculatePercent( - delegationItem?.balance?.amount, - totalAmount - ) - }} + ${{ format.tokenValue(delegationItem?.balance) }}
diff --git a/src/modules/wallet/accounts.vue b/src/modules/wallet/accounts.vue index 47b8f02e..961f6cc5 100644 --- a/src/modules/wallet/accounts.vue +++ b/src/modules/wallet/accounts.vue @@ -307,7 +307,7 @@ async function loadBalances(endpoint: string, address: string) { @@ -326,7 +326,7 @@ async function loadBalances(endpoint: string, address: string) {