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) { .then(function (response) {
self.tickets = response.data self.tickets = response.data
.map(function (obj) { .map(function (obj) {
if (!obj?.paid) return if (obj.paid){
return mapLNTicket(obj) return mapLNTicket(obj)
}
}) })
.filter(v => v) .filter(v => v)
}) })