add seatIsSelected to SelectedSeatService, so seats cannot be interacted with while cooking/reservation
This commit is contained in:
@@ -15,7 +15,7 @@ export class SeatComponent{
|
||||
|
||||
selected: boolean = false;
|
||||
|
||||
private seatService = inject(SelectedSeatsService)
|
||||
protected seatService = inject(SelectedSeatsService)
|
||||
|
||||
getSeatStateColor(): any {
|
||||
switch (this.state()) {
|
||||
|
||||
Reference in New Issue
Block a user