File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/webui/src/client/ui/ClockView Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,7 @@ function DirectorScreenRender({
394394 // Only consider VT and LIVE_SPEAK on the PGM output layer
395395 const ol = currentShowStyleBase . outputLayers ?. [ pi . piece . outputLayerId ]
396396 if ( ( sl ?. type === SourceLayerType . VT || sl ?. type === SourceLayerType . LIVE_SPEAK ) && ol ?. isPGM ) {
397- const ab = ( pi . piece as unknown as { abSessions ?: Array < { poolName : string ; sessionName : string } > } )
398- . abSessions
397+ const ab = pi . piece . abSessions
399398 if ( ! ab || ab . length === 0 ) continue
400399 for ( const s of ab ) {
401400 const pool = playlist . assignedAbSessions ?. [ s . poolName ]
@@ -429,8 +428,7 @@ function DirectorScreenRender({
429428 // Only consider VT and LIVE_SPEAK on the PGM output layer
430429 const ol = ssb . outputLayers ?. [ pi . piece . outputLayerId ]
431430 if ( ( sl ?. type === SourceLayerType . VT || sl ?. type === SourceLayerType . LIVE_SPEAK ) && ol ?. isPGM ) {
432- const ab = ( pi . piece as unknown as { abSessions ?: Array < { poolName : string ; sessionName : string } > } )
433- . abSessions
431+ const ab = pi . piece . abSessions
434432 if ( ! ab || ab . length === 0 ) continue
435433 for ( const s of ab ) {
436434 const pool = playlist . assignedAbSessions ?. [ s . poolName ]
You can’t perform that action at this time.
0 commit comments