feat: add paid/registered badge to ticket page (#49)

some visual verification on the ticket page that it is paid / checked
in.
This commit is contained in:
dni ⚡ 2026-05-07 17:06:38 +02:00 committed by GitHub
commit 0824b1120b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 6 deletions

View file

@ -3,7 +3,7 @@ window.PageEventsTicket = {
data() {
return {
ticketId: null,
ticketName: null
ticket: null
}
},
methods: {
@ -18,7 +18,7 @@ window.PageEventsTicket = {
'GET',
`/events/api/v1/tickets/${this.ticketId}`
)
this.ticketName = data.ticket_name
this.ticket = data
} catch (error) {
LNbits.utils.notifyApiError(error)
}