From d93a06431e8746fb0b5df2ad2431a6e56b79d050 Mon Sep 17 00:00:00 2001 From: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Date: Wed, 13 May 2026 14:36:00 +0800 Subject: [PATCH] refactor(app): clarify session_working logic in child-store (#27267) --- packages/app/src/context/global-sync/child-store.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: {},