Open aileo opened 6 months ago
Hello,
I tested this fix locally with docker-compose and it seems to fix the issue.
Thanks,
Hi @aileo
I'm looking for a maintainer for this project, as I've not been able to spend much time on it recently. It seems that you have contributed a lot so far, so please let me know if you are interested.
Regards, /S
Hi,
I found out that when selecting a time range overlapping user's existing booking and someone else's booking on a seat, the delete action deletes both bookings.
I think the cause is in
WarpSeatFactory.getMyConflictingBookings
:!i.book.login == this.login
castsi.book.login
as boolean first then compare its opposite value tothis.login
.i.book.login != this.login
checks if values are different.Another way to do it could be
!(i.book.login == this.login)