Files
frontend/src/app/seat-row/seat-row.component.ts
Piet Ostendorp bd56f3242e Handle empty seats and rows in theater layout
Updated seat and row data structures to allow null values for seats and states, enabling the display of empty seat spaces and rows. Adjusted rendering logic and styles to visually represent gaps in seating, and enhanced the converter to fill missing seats and rows with placeholders.
2025-11-15 16:34:20 +01:00

14 lines
451 B
TypeScript

import {Component, input} from '@angular/core';
import {Sitzplatz} from '@infinimotion/model-frontend';
import {TheaterSeatState} from '../model/theater-seat-state.model';
@Component({
selector: 'app-seat-row',
standalone: false,
templateUrl: './seat-row.component.html',
styleUrl: './seat-row.component.css'
})
export class SeatRowComponent {
rowSeatList = input.required<{ seat: Sitzplatz | null, state: TheaterSeatState | null }[]>();
}