diff --git a/packages/app/src/context/global-sync/child-store.ts b/packages/app/src/context/global-sync/child-store.ts index 0c4c68b7f1..08299b3017 100644 --- a/packages/app/src/context/global-sync/child-store.ts +++ b/packages/app/src/context/global-sync/child-store.ts @@ -209,7 +209,8 @@ export function createChildStoreManager(input: { sessionTotal: 0, session_status: {}, session_working(id: string) { - return this.session_status[id]?.type !== "idle" + const type = this.session_status[id]?.type + return (type ?? "idle") !== "idle" }, session_diff: {}, todo: {},