mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
remove todos
This commit is contained in:
@@ -54,7 +54,6 @@ class GETHandler {
|
||||
} );
|
||||
} else if ( call === 'extendTicketDeletion' ) {
|
||||
db.writeDataSimple( 'temp', 'user_id', session.id, { 'timestamp': new Date().toString() } );
|
||||
// TODO: make sure it works, seems to be still unreliable
|
||||
resolve( 'extended' );
|
||||
} else if ( call === 'getName' ) {
|
||||
resolve( { 'name': settings.name } );
|
||||
|
||||
@@ -469,7 +469,6 @@
|
||||
this.hasSeatPlan = this.locations[ this.event.location ][ 'seatplan-enabled' ] ?? false;
|
||||
this.event.categories = {};
|
||||
this.totalSeats = json.seatInfo.count;
|
||||
// TODO: Make sure ticket counting actually works from the seat plan editor
|
||||
for ( let element in json.data ) {
|
||||
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 };
|
||||
|
||||
Reference in New Issue
Block a user