refactor: remove frozen implementation

This commit is contained in:
Carlos Valente
2024-11-30 22:13:13 +01:00
committed by Carlos Valente
parent 55d349877b
commit 29e682ee06
8 changed files with 5 additions and 47 deletions
@@ -21,7 +21,6 @@ import { runtimeService } from '../runtime-service/RuntimeService.js';
import * as cache from './rundownCache.js';
import { getPlayableEvents, getTimedEvents } from './rundownUtils.js';
import { eventStore } from '../../stores/EventStore.js';
type PatchWithId = (Partial<OntimeEvent> | Partial<OntimeBlock> | Partial<OntimeDelay>) & { id: string };
@@ -275,7 +274,3 @@ export async function initRundown(rundown: Readonly<OntimeRundown>, customFields
// notify timer of change
notifyChanges({ timer: true, external: true, reload: true });
}
export async function setFrozenState(state: boolean) {
eventStore.set('frozen', state);
}