mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 06:35:23 +01:00
fixed tickets not showing
This commit is contained in:
parent
45738beb59
commit
d2cad060fd
1 changed files with 3 additions and 2 deletions
|
@ -317,8 +317,9 @@
|
|||
.then(function (response) {
|
||||
self.tickets = response.data
|
||||
.map(function (obj) {
|
||||
if (!obj?.paid) return
|
||||
return mapLNTicket(obj)
|
||||
if (obj.paid){
|
||||
return mapLNTicket(obj)
|
||||
}
|
||||
})
|
||||
.filter(v => v)
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue