selectedSeatsList should now be reset before loading theater. 🦏

This commit is contained in:
Marcel-Anker
2025-11-13 17:23:40 +01:00
parent c0f022e65c
commit 43e29e644d
2 changed files with 9 additions and 1 deletions

View File

@@ -27,4 +27,10 @@ export class SelectedSeatsService {
return this.selectedSeatsList;
}
clearSelectedSeatsList(): void {
this.selectedSeatsList.forEach((seat) => {
this.removeSelectedSeat(seat);
})
}
}