selectedSeatsList should now be reset before loading theater. 🦏
This commit is contained in:
@@ -27,4 +27,10 @@ export class SelectedSeatsService {
|
||||
return this.selectedSeatsList;
|
||||
}
|
||||
|
||||
clearSelectedSeatsList(): void {
|
||||
this.selectedSeatsList.forEach((seat) => {
|
||||
this.removeSelectedSeat(seat);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user