File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
webview-ui/src/components/settings Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -935,7 +935,13 @@ const ApiOptions = ({
935935 < SelectValue placeholder = { t ( "settings:common.select" ) } />
936936 </ SelectTrigger >
937937 < SelectContent >
938- < SelectItem value = "default" > { t ( "settings:toolProtocol.default" ) } </ SelectItem >
938+ < SelectItem value = "default" >
939+ { t ( "settings:toolProtocol.default" ) } (
940+ { defaultProtocol === TOOL_PROTOCOL . NATIVE
941+ ? t ( "settings:toolProtocol.native" )
942+ : t ( "settings:toolProtocol.xml" ) }
943+ )
944+ </ SelectItem >
939945 < SelectItem value = { TOOL_PROTOCOL . XML } >
940946 { t ( "settings:toolProtocol.xml" ) }
941947 </ SelectItem >
@@ -946,16 +952,6 @@ const ApiOptions = ({
946952 </ Select >
947953 < div className = "text-sm text-vscode-descriptionForeground mt-1" >
948954 { t ( "settings:toolProtocol.description" ) }
949- { ! apiConfiguration . toolProtocol && (
950- < >
951- { " " }
952- < span className = "text-vscode-foreground" >
953- { t ( "settings:toolProtocol.currentDefault" , {
954- protocol : defaultProtocol ,
955- } ) }
956- </ span >
957- </ >
958- ) }
959955 </ div >
960956 </ div >
961957 ) }
You can’t perform that action at this time.
0 commit comments