mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
various changes to components
This commit is contained in:
1 parent
130831f050
commit
a856f227bc
7 files changed
+16
-8
No files matched your search
@@ -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