fix: update cache on delete-all (#827)

This commit is contained in:
Carlos Valente
2024-03-17 19:45:34 +01:00
committed by GitHub
parent a9e0e2b091
commit 8b6e06150a
@@ -95,6 +95,9 @@ export async function deleteAllEvents() {
const scopedMutation = cache.mutateCache(cache.removeAll);
await scopedMutation({});
// notify event loader that rundown has changed
updateRuntimeOnChange();
// no need to modify timer since we will reset
notifyChanges({ external: true });
}