mirror of
https://github.com/cline/cline.git
synced 2026-09-24 23:20:16 +08:00
Clean up HistoryView: remove debug logs and unused code (#6133)
- Remove console.info debug statement from deleteTaskWithId - Rename filteredTasks to tasks for clarity - Remove unused presentableTasks variable - Remove commented out empty state UI code
This commit is contained in:
@@ -47,8 +47,6 @@ export async function deleteTasksWithIds(controller: Controller, request: String
|
||||
* @param id The task ID to delete
|
||||
*/
|
||||
async function deleteTaskWithId(controller: Controller, id: string): Promise<void> {
|
||||
console.info("deleteTaskWithId: ", id)
|
||||
|
||||
try {
|
||||
// Clear current task if it matches the ID being deleted
|
||||
if (id === controller.task?.taskId) {
|
||||
|
||||
Reference in New Issue
Block a user