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:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
}
|
||||
@else {
|
||||
<app-theater-layout [seatsPerRow]="seatsPerRow"></app-theater-layout>
|
||||
<app-theater-layout [seatsPerRow]="seatsPerRow()"></app-theater-layout>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user