mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
free seat tracker rewrite
This commit is contained in:
@@ -398,7 +398,7 @@
|
||||
// Make call to server to deselect ticket
|
||||
const options = {
|
||||
method: 'post',
|
||||
body: JSON.stringify( { 'id': seat[ 'id' ], 'eventID': this.event.eventID, 'component': seat.component } ),
|
||||
body: JSON.stringify( { 'id': seat[ 'id' ], 'eventID': this.event.eventID, 'component': seat.componentID } ),
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'charset': 'utf-8'
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
self.$refs.notification.cancelNotification( startNotification );
|
||||
self.$refs.notification.createNotification( 'Your tickets are ready! Starting download...', 10, 'progress', 'normal' );
|
||||
localStorage.removeItem( 'cart' );
|
||||
fetch( '/getAPI/reloadData' ).catch( () => {} );
|
||||
setTimeout( () => {
|
||||
open( '/tickets/tickets.pdf' );
|
||||
source.close();
|
||||
|
||||
Reference in New Issue
Block a user