File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
webview-ui/src/components/chat Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -437,39 +437,6 @@ export const ChatRowContent = ({
437437 </ div >
438438 </ >
439439 )
440- case "searchAndReplace" :
441- return (
442- < >
443- < div style = { headerStyle } >
444- { tool . isProtected ? (
445- < span
446- className = "codicon codicon-lock"
447- style = { { color : "var(--vscode-editorWarning-foreground)" , marginBottom : "-1.5px" } }
448- />
449- ) : (
450- toolIcon ( "replace" )
451- ) }
452- < span style = { { fontWeight : "bold" } } >
453- { tool . isProtected && message . type === "ask"
454- ? t ( "chat:fileOperations.wantsToEditProtected" )
455- : message . type === "ask"
456- ? t ( "chat:fileOperations.wantsToSearchReplace" )
457- : t ( "chat:fileOperations.didSearchReplace" ) }
458- </ span >
459- </ div >
460- < div className = "pl-6" >
461- < CodeAccordian
462- path = { tool . path }
463- code = { tool . diff }
464- language = "diff"
465- progressStatus = { message . progressStatus }
466- isLoading = { message . partial }
467- isExpanded = { isExpanded }
468- onToggleExpand = { handleToggleExpand }
469- />
470- </ div >
471- </ >
472- )
473440 case "codebaseSearch" : {
474441 return (
475442 < div style = { headerStyle } >
You can’t perform that action at this time.
0 commit comments