mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +02:00
feat: fix filename in payments export (#1991)
This commit is contained in:
@@ -804,7 +804,11 @@ new Vue({
|
|||||||
// and would cause duplication in the list
|
// and would cause duplication in the list
|
||||||
LNbits.api.getPayments(this.g.wallet, {}).then(response => {
|
LNbits.api.getPayments(this.g.wallet, {}).then(response => {
|
||||||
const payments = response.data.data.map(LNbits.map.payment)
|
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 () {
|
pasteToTextArea: function () {
|
||||||
|
Reference in New Issue
Block a user