File tree Expand file tree Collapse file tree 1 file changed +4
-23
lines changed
src/extension/ui/src/components/tile Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,15 @@ const ConfigurationModal = ({
205
205
>
206
206
{ catalogItem . description }
207
207
</ Typography >
208
- { catalogItem . source !== undefined && (
208
+ { catalogItem . readme !== undefined && (
209
209
< Typography variant = "body2" sx = { { mt : 2 , color : 'text.secondary' } } >
210
210
Repository:{ ' ' }
211
211
< Link
212
- onClick = { ( ) => client . host . openExternal ( catalogItem . source || '' ) }
213
- href = { catalogItem . source || '' }
212
+ onClick = { ( ) => client . host . openExternal ( catalogItem . readme || '' ) }
213
+ href = { catalogItem . readme || '' }
214
214
target = "_blank"
215
215
>
216
- { catalogItem . source || '' }
216
+ { catalogItem . readme || '' }
217
217
< Launch />
218
218
</ Link >
219
219
</ Typography >
@@ -286,25 +286,6 @@ 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
-
308
289
< ConfigEditor catalogItem = { catalogItem } client = { client } />
309
290
310
291
< Stack >
You can’t perform that action at this time.
0 commit comments