Fixed tickets not showing

This commit is contained in:
Ben Arc 2021-06-23 20:41:56 +01:00
parent c349ad43cd
commit 1ef1b2f4fa

View File

@ -317,8 +317,9 @@
.then(function (response) {
self.tickets = response.data
.map(function (obj) {
if (!obj?.paid) return
if (obj.paid){
return mapLNTicket(obj)
}
})
.filter(v => v)
})