mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
refactor: remove onAir
This commit is contained in:
committed by
Carlos Valente
parent
0299463f62
commit
94b1f63c7c
@@ -730,11 +730,7 @@ function broadcastResult(_target: any, _propertyKey: string, descriptor: Propert
|
||||
*/
|
||||
const shouldUpdateClock = shouldRuntimeUpdate || shouldBlockUpdate || normalClockUpdate;
|
||||
|
||||
//Now we set all the updates on the eventstore and update the previous value
|
||||
if (hasChangedPlayback) {
|
||||
batch.add('onAir', state.timer.playback !== Playback.Stop);
|
||||
}
|
||||
|
||||
// Now we set all the updates on the eventstore and update the previous value
|
||||
if (shouldUpdateTimer) {
|
||||
batch.add('timer', state.timer);
|
||||
RuntimeService.previousTimerUpdate = state.clock;
|
||||
|
||||
Reference in New Issue
Block a user