mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
various changes to components
This commit is contained in:
@@ -75,7 +75,10 @@
|
||||
*/
|
||||
try {
|
||||
delete this.notifications[ id ];
|
||||
delete this.queue[ this.queue.findIndex( id ) ];
|
||||
console.log( this.notifications );
|
||||
console.log( this.queue.findIndex( id ) );
|
||||
console.log( this.queue );
|
||||
delete this.queue[ this.queue.findIndex( id ) - 1 ];
|
||||
} catch ( error ) {
|
||||
console.log( 'notification to be deleted is nonexistent or currently being displayed' );
|
||||
}
|
||||
|
||||
@@ -417,6 +417,11 @@
|
||||
},
|
||||
getSeatCount () {
|
||||
this.seatCountInfo[ 'count' ] = document.getElementsByClassName( 'seats' ).length;
|
||||
for ( let draggable in this.draggables ) {
|
||||
if ( this.draggables[ draggable ][ 'ticketCount' ] ) {
|
||||
this.seatCountInfo[ 'count' ] += this.draggables[ draggable ][ 'ticketCount' ];
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user