This commit is contained in:
callebtc
2022-11-05 20:52:52 +01:00
parent 40a7952265
commit 02f8a6330f

View File

@@ -903,7 +903,7 @@
{ {
name: 'amount', name: 'amount',
align: 'left', align: 'left',
label: 'Value ({{LNBITS_DENOMINATION}})', label: 'Amount',
field: 'amount', field: 'amount',
sortable: true sortable: true
}, },
@@ -982,7 +982,7 @@
return acc return acc
}, {}) }, {})
return Object.keys(x).map(k => ({ return Object.keys(x).map(k => ({
value: k, value: parseInt(k),
count: x[k], count: x[k],
sum: k * x[k] sum: k * x[k]
})) }))