mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-20 04:21:20 +02:00
sort fix
This commit is contained in:
@@ -903,7 +903,7 @@
|
||||
{
|
||||
name: 'amount',
|
||||
align: 'left',
|
||||
label: 'Value ({{LNBITS_DENOMINATION}})',
|
||||
label: 'Amount',
|
||||
field: 'amount',
|
||||
sortable: true
|
||||
},
|
||||
@@ -982,7 +982,7 @@
|
||||
return acc
|
||||
}, {})
|
||||
return Object.keys(x).map(k => ({
|
||||
value: k,
|
||||
value: parseInt(k),
|
||||
count: x[k],
|
||||
sum: k * x[k]
|
||||
}))
|
||||
|
Reference in New Issue
Block a user