mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-09 22:31:08 +00:00
Remove double todo list (#9517)
This commit is contained in:
parent
cdc72750e4
commit
98b06d84be
1 changed files with 1 additions and 16 deletions
|
|
@ -160,7 +160,6 @@ export const ChatRowContent = ({
|
|||
onSuggestionClick,
|
||||
onFollowUpUnmount,
|
||||
onBatchFileResponse,
|
||||
editable,
|
||||
isFollowUpAnswered,
|
||||
}: ChatRowContentProps) => {
|
||||
const { t } = useTranslation()
|
||||
|
|
@ -540,21 +539,7 @@ export const ChatRowContent = ({
|
|||
// Get previous todos from the latest todos in the task context
|
||||
const previousTodos = getPreviousTodos(clineMessages, message.ts)
|
||||
|
||||
return (
|
||||
<>
|
||||
<TodoChangeDisplay previousTodos={previousTodos} newTodos={todos} />
|
||||
<UpdateTodoListToolBlock
|
||||
todos={todos}
|
||||
content={(tool as any).content}
|
||||
onChange={(updatedTodos) => {
|
||||
if (typeof vscode !== "undefined" && vscode?.postMessage) {
|
||||
vscode.postMessage({ type: "updateTodoList", payload: { todos: updatedTodos } })
|
||||
}
|
||||
}}
|
||||
editable={!!(editable && isLast)}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
return <TodoChangeDisplay previousTodos={previousTodos} newTodos={todos} />
|
||||
}
|
||||
case "newFileCreated":
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue