File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
src/webviews/apps/plus/shared/components Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -356,16 +356,18 @@ export class GlIntegrationsChip extends LitElement {
356
356
< span class ="integration__icon "> < code-icon icon ="${ icon } "> </ code-icon > </ span >
357
357
${ this . aiEnabled
358
358
? html `< span class ="integration__content ">
359
- < span class ="integration__title ">
360
- < span > ${ model ?. provider . name ?? 'AI' } </ span >
361
- ${ showProBadge
362
- ? html ` < gl-feature-badge
363
- placement ="right "
364
- .source =${ { source : 'home' , detail : 'integrations' } as const }
365
- cloud
366
- > </ gl-feature-badge > `
367
- : nothing }
368
- </ span >
359
+ ${ model ?. provider . name
360
+ ? html `< span class ="integration__title ">
361
+ < span > ${ model . provider . name } </ span >
362
+ ${ showProBadge
363
+ ? html ` < gl-feature-badge
364
+ placement ="right "
365
+ .source =${ { source : 'home' , detail : 'integrations' } as const }
366
+ cloud
367
+ > </ gl-feature-badge > `
368
+ : nothing }
369
+ </ span > `
370
+ : html `< span class ="integration_details "> AI</ span > ` }
369
371
${ model ?. name ? html `< span class ="integration__details "> ${ model . name } </ span > ` : nothing }
370
372
</ span >
371
373
< span class ="integration__actions ">
You can’t perform that action at this time.
0 commit comments