fixed tickets not showing

This commit is contained in:
Ben Arc 2021-06-23 21:51:57 +01:00
parent 45738beb59
commit d2cad060fd

View file

@ -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)
})