mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-12 16:53:28 +00:00
refactor(app): clarify session_working logic in child-store (#27267)
This commit is contained in:
parent
9fe912439b
commit
d93a06431e
1 changed files with 2 additions and 1 deletions
|
|
@ -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: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue