mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 13:44:12 +00:00
fix: update cache on delete-all (#827)
This commit is contained in:
@@ -95,6 +95,9 @@ export async function deleteAllEvents() {
|
|||||||
const scopedMutation = cache.mutateCache(cache.removeAll);
|
const scopedMutation = cache.mutateCache(cache.removeAll);
|
||||||
await scopedMutation({});
|
await scopedMutation({});
|
||||||
|
|
||||||
|
// notify event loader that rundown has changed
|
||||||
|
updateRuntimeOnChange();
|
||||||
|
|
||||||
// no need to modify timer since we will reset
|
// no need to modify timer since we will reset
|
||||||
notifyChanges({ external: true });
|
notifyChanges({ external: true });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user