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:
parent
32c230957e
commit
0824b1120b
2 changed files with 18 additions and 6 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue