mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 12:51:17 -05:00
Fix exporting current open task
This commit is contained in:
@@ -326,8 +326,10 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
||||
await this.postMessageToWebview({ type: "selectedImages", images })
|
||||
break
|
||||
case "exportCurrentTask":
|
||||
const firstMessageTs = this.claudeDev?.claudeMessages.at(0)?.ts ?? Date.now()
|
||||
downloadTask(firstMessageTs, this.claudeDev?.apiConversationHistory ?? [])
|
||||
const currentTaskId = this.claudeDev?.taskId
|
||||
if (currentTaskId) {
|
||||
this.exportTaskWithId(currentTaskId)
|
||||
}
|
||||
break
|
||||
case "showTaskWithId":
|
||||
this.showTaskWithId(message.text!)
|
||||
|
||||
Reference in New Issue
Block a user