Repository navigation
Commit 99d5e6a
committed
fix(app): guard session-header current() against undefined when options is empty
When options() is temporarily empty (during startup or project switching),
options()[0] returns undefined, causing current().id to throw a TypeError.
Add a fileManager()-based fallback so current() always returns a valid object.
Fixes anomalyco#16459
Fixes anomalyco#164671 parent 641e178 commit 99d5e6a
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
| |||
0 commit comments