Commit de49594
committed
fix: preserve initialTodos when overwriting cline messages
The todo list was not being rendered in new subtasks because the overwriteClineMessages method was calling restoreTodoListForTask unconditionally, which would overwrite any initialTodos passed during task construction. This fix only restores the todo list from messages if there are no existing todos.1 parent 85364b8 commit de49594
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
562 | 565 | | |
563 | 566 | | |
564 | 567 | | |
| |||
0 commit comments