mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 12:42:17 +00:00
fix: add optional chaining to session_status access (#27247)
This commit is contained in:
parent
c5961205ef
commit
3be65dff46
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ export function createChildStoreManager(input: {
|
|||
sessionTotal: 0,
|
||||
session_status: {},
|
||||
session_working(id: string) {
|
||||
return this.session_status[id].type !== "idle"
|
||||
return this.session_status[id]?.type !== "idle"
|
||||
},
|
||||
session_diff: {},
|
||||
todo: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue