File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
src/extension/ui/src/components/tile Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -195,17 +195,19 @@ const ConfigurationModal = ({
195
195
>
196
196
{ catalogItem . description }
197
197
</ Typography >
198
- < Typography variant = "body2" sx = { { mt : 2 , color : 'text.secondary' } } >
199
- Repository:{ ' ' }
200
- < Link
201
- onClick = { ( ) => client . host . openExternal ( catalogItem . source || '' ) }
202
- href = { catalogItem . source || '' }
203
- target = "_blank"
204
- >
205
- { catalogItem . source || '' }
206
- < Launch />
207
- </ Link >
208
- </ Typography >
198
+ { catalogItem . source !== undefined && (
199
+ < Typography variant = "body2" sx = { { mt : 2 , color : 'text.secondary' } } >
200
+ Repository:{ ' ' }
201
+ < Link
202
+ onClick = { ( ) => client . host . openExternal ( catalogItem . source || '' ) }
203
+ href = { catalogItem . source || '' }
204
+ target = "_blank"
205
+ >
206
+ { catalogItem . source || '' }
207
+ < Launch />
208
+ </ Link >
209
+ </ Typography >
210
+ ) }
209
211
210
212
{ configLoading ? (
211
213
< Box sx = { { display : 'flex' , justifyContent : 'center' , p : 2 } } >
You can’t perform that action at this time.
0 commit comments