mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
More batch (#1468)
* batch updates in client * rearange updating logic * utilety type * guard undefinde in affectsLoaded * fix: pause state not saved to restore point
This commit is contained in:
committed by
GitHub
parent
bb1e9072fd
commit
d34280c03d
@@ -35,6 +35,7 @@ export const eventStore = {
|
||||
for (const dataKey of changedKeys) {
|
||||
socket.sendAsJson({ type: `ontime-${dataKey}`, payload: store[dataKey] });
|
||||
}
|
||||
socket.sendAsJson({ type: `ontime-flush` });
|
||||
isUpdatePending = null;
|
||||
changedKeys.clear();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user