File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ const ConfigurationModal = ({
246
246
}
247
247
color = "error"
248
248
>
249
- Configure
249
+ Configuration
250
250
</ Badge >
251
251
}
252
252
/>
@@ -286,6 +286,25 @@ const ConfigurationModal = ({
286
286
} }
287
287
>
288
288
< Stack direction = "column" spacing = { 2 } >
289
+ { catalogItem . readme !== undefined && (
290
+ < Typography
291
+ variant = "body2"
292
+ sx = { { color : 'text.secondary' } }
293
+ >
294
+ See{ ' ' }
295
+ < Link
296
+ onClick = { ( ) =>
297
+ client . host . openExternal ( catalogItem . readme || '' )
298
+ }
299
+ href = { catalogItem . readme || '' }
300
+ target = "_blank"
301
+ >
302
+ setup instruction.
303
+ < Launch />
304
+ </ Link >
305
+ </ Typography >
306
+ ) }
307
+
289
308
< ConfigEditor catalogItem = { catalogItem } client = { client } />
290
309
291
310
< Stack >
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export interface CatalogItemWithName extends CatalogItem {
25
25
*/
26
26
export interface CatalogItemRichened extends CatalogItem {
27
27
name : string ;
28
+ readme ?: string ;
28
29
secrets : { name : string , assigned : boolean } [ ] ;
29
30
configValue : { [ key : string ] : any } ;
30
31
configSchema : any ;
You can’t perform that action at this time.
0 commit comments