mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
feat: time to next flag
This commit is contained in:
@@ -810,6 +810,11 @@ function broadcastResult(_target: any, _propertyKey: string, descriptor: Propert
|
||||
RuntimeService.previousState.blockNext = state.blockNext;
|
||||
}
|
||||
|
||||
if (RuntimeService.previousState?.nextFlag !== state.nextFlag) {
|
||||
batch.add('nextFlag', state.nextFlag);
|
||||
RuntimeService.previousState.nextFlag = state.nextFlag;
|
||||
}
|
||||
|
||||
if (hasImmediateChanges) {
|
||||
saveRestoreState(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user