Skip to content

Commit b1927c0

Browse files
committed
Fixiki
1 parent bc35b1e commit b1927c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

components/modules/rollup/RollupCharts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const seriesConfig = [
101101
series: feeSeries,
102102
title: "Fee spent",
103103
tooltipLabel: "Spent",
104-
yAxisFormatter: (val) => tia(val, 0),
104+
yAxisFormatter: (val) => tia(val, 1),
105105
tooltipValueFormatter: tia,
106106
},
107107
{

services/utils/amounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const utia = (amount) => {
6868
export const truncateDecimalPart = (amount, decimal = 6) => {
6969
if (!amount) return 0
7070

71-
const numberString = amount.toFixed(decimal).replace(/\.?0+$/, "")
71+
const numberString = amount.toFixed(decimal).replace(/\.0+$/, "")
7272

7373
return parseFloat(numberString)
7474
}

0 commit comments

Comments
 (0)