add seatIsSelected to SelectedSeatService, so seats cannot be interacted with while cooking/reservation

This commit is contained in:
Marcel-Anker
2025-11-13 17:47:45 +01:00
parent a9e1d28f09
commit 769fb8b2cd
3 changed files with 15 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export class SeatComponent{
selected: boolean = false;
private seatService = inject(SelectedSeatsService)
protected seatService = inject(SelectedSeatsService)
getSeatStateColor(): any {
switch (this.state()) {