Add auto-refresh polling to theater overlay

Introduces periodic polling to refresh seat and performance data in TheaterOverlayComponent using RxJS interval and Angular signals. Polling is paused when the component is destroyed or manually via new methods, and the template is updated to use the seatsPerRow signal.
This commit is contained in:
2025-11-15 02:28:43 +01:00
parent e5707709bf
commit be680da692
2 changed files with 81 additions and 31 deletions

View File

@@ -13,7 +13,7 @@
</div>
}
@else {
<app-theater-layout [seatsPerRow]="seatsPerRow"></app-theater-layout>
<app-theater-layout [seatsPerRow]="seatsPerRow()"></app-theater-layout>
}
</div>
</div>