mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
feat: fix filename in payments export (#1991)
This commit is contained in:
parent
54e0d1aa15
commit
219838244b
1 changed files with 5 additions and 1 deletions
|
@ -804,7 +804,11 @@ new Vue({
|
|||
// and would cause duplication in the list
|
||||
LNbits.api.getPayments(this.g.wallet, {}).then(response => {
|
||||
const payments = response.data.data.map(LNbits.map.payment)
|
||||
LNbits.utils.exportCSV(this.paymentsCSV.columns, payments)
|
||||
LNbits.utils.exportCSV(
|
||||
this.paymentsCSV.columns,
|
||||
payments,
|
||||
this.g.wallet.name + '-payments'
|
||||
)
|
||||
})
|
||||
},
|
||||
pasteToTextArea: function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue