remove todos

This commit is contained in:
2023-09-23 11:15:17 +02:00
parent e858daae64
commit 167f1c8037
2 changed files with 0 additions and 2 deletions

View File

@@ -54,7 +54,6 @@ class GETHandler {
} ); } );
} else if ( call === 'extendTicketDeletion' ) { } else if ( call === 'extendTicketDeletion' ) {
db.writeDataSimple( 'temp', 'user_id', session.id, { 'timestamp': new Date().toString() } ); db.writeDataSimple( 'temp', 'user_id', session.id, { 'timestamp': new Date().toString() } );
// TODO: make sure it works, seems to be still unreliable
resolve( 'extended' ); resolve( 'extended' );
} else if ( call === 'getName' ) { } else if ( call === 'getName' ) {
resolve( { 'name': settings.name } ); resolve( { 'name': settings.name } );

View File

@@ -469,7 +469,6 @@
this.hasSeatPlan = this.locations[ this.event.location ][ 'seatplan-enabled' ] ?? false; this.hasSeatPlan = this.locations[ this.event.location ][ 'seatplan-enabled' ] ?? false;
this.event.categories = {}; this.event.categories = {};
this.totalSeats = json.seatInfo.count; this.totalSeats = json.seatInfo.count;
// TODO: Make sure ticket counting actually works from the seat plan editor
for ( let element in json.data ) { for ( let element in json.data ) {
if ( json.data[ element ][ 'type' ] === 'seat' || json.data[ element ][ 'type' ] === 'stand' ) { if ( json.data[ element ][ 'type' ] === 'seat' || json.data[ element ][ 'type' ] === 'stand' ) {
this.event.categories[ json.data[ element ][ 'category' ] ] = { 'price': {}, 'bg': '#FFFFFF', 'fg': '#000000', 'name': 'Category ' + json.data[ element ][ 'category' ], 'id': json.data[ element ][ 'category' ], 'ticketCount': 1 }; this.event.categories[ json.data[ element ][ 'category' ] ] = { 'price': {}, 'bg': '#FFFFFF', 'fg': '#000000', 'name': 'Category ' + json.data[ element ][ 'category' ], 'id': json.data[ element ][ 'category' ], 'ticketCount': 1 };