File tree Expand file tree Collapse file tree 1 file changed +24
-20
lines changed
src/extension/ui/src/components/tabs Expand file tree Collapse file tree 1 file changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -309,26 +309,30 @@ function ClientSetting({
309
309
{ mcpClientState . client . url }
310
310
</ Link >
311
311
</ Stack >
312
- < Typography sx = { { fontWeight : 'bold' } } >
313
- Expected Config Path
314
- </ Typography >
315
- < Typography
316
- component = "pre"
317
- sx = { {
318
- color : 'text.primary' ,
319
- fontFamily : 'monospace' ,
320
- whiteSpace : 'nowrap' ,
321
- overflow : 'auto' ,
322
- backgroundColor : 'background.default' ,
323
- padding : 1 ,
324
- borderRadius : 1 ,
325
- fontSize : '12px' ,
326
- } }
327
- >
328
- { mcpClientState . client . expectedConfigPath ?. [
329
- client . host . platform as 'win32' | 'darwin' | 'linux'
330
- ] || 'N/A' }
331
- </ Typography >
312
+ { mcpClientState . client . expectedConfigPath && (
313
+ < >
314
+ < Typography sx = { { fontWeight : 'bold' } } >
315
+ Expected Config Path
316
+ </ Typography >
317
+ < Typography
318
+ component = "pre"
319
+ sx = { {
320
+ color : 'text.primary' ,
321
+ fontFamily : 'monospace' ,
322
+ whiteSpace : 'nowrap' ,
323
+ overflow : 'auto' ,
324
+ backgroundColor : 'background.default' ,
325
+ padding : 1 ,
326
+ borderRadius : 1 ,
327
+ fontSize : '12px' ,
328
+ } }
329
+ >
330
+ { mcpClientState . client . expectedConfigPath ?. [
331
+ client . host . platform as 'win32' | 'darwin' | 'linux'
332
+ ] || 'N/A' }
333
+ </ Typography >
334
+ </ >
335
+ ) }
332
336
< Typography sx = { { fontWeight : 'bold' } } >
333
337
Manual configuration
334
338
</ Typography >
You can’t perform that action at this time.
0 commit comments