@@ -196,21 +196,31 @@ export class GlFeatureNav extends GlElement {
196
196
this . orgAllowsDrafts ,
197
197
( ) => html `
198
198
< div class ="nav-list__item ">
199
- < a
200
- class ="nav-list__link ${ this . blockRepoFeatures ? ' is-disabled' : '' } "
201
- href ="${ createCommandLink < OpenWalkthroughCommandArgs > ( 'gitlens.openWalkthrough' , {
202
- step : 'streamline-collaboration' ,
203
- source : { source : 'home' , detail : 'old-home' } ,
204
- } ) } "
205
- data-requires ="repo "
206
- data-org-requires ="drafts "
207
- aria-label ="Open Code Suggest walkthrough "
208
- > < code-icon class ="nav-list__icon " icon ="gl-code-suggestion "> </ code-icon
209
- > < gl-tooltip hoist class ="nav-list__group " content ="Open Code Suggest walkthrough "
210
- > < span class ="nav-list__label "> Code Suggest</ span
211
- > < span class ="nav-list__desc "> New!</ span > </ gl-tooltip
212
- >
213
- </ a >
199
+ ${ when (
200
+ this . _state . walkthroughSupported ,
201
+ ( ) =>
202
+ html ` < a
203
+ class ="nav-list__link ${ this . blockRepoFeatures ? ' is-disabled' : '' } "
204
+ href ="${ createCommandLink < OpenWalkthroughCommandArgs > (
205
+ 'gitlens.openWalkthrough' ,
206
+ {
207
+ step : 'streamline-collaboration' ,
208
+ source : { source : 'home' , detail : 'old-home' } ,
209
+ } ,
210
+ ) } "
211
+ data-requires ="repo "
212
+ data-org-requires ="drafts "
213
+ aria-label ="Open Code Suggest walkthrough "
214
+ > < code-icon class ="nav-list__icon " icon ="gl-code-suggestion "> </ code-icon
215
+ > < gl-tooltip
216
+ hoist
217
+ class ="nav-list__group "
218
+ content ="Open Code Suggest walkthrough "
219
+ > < span class ="nav-list__label "> Code Suggest</ span
220
+ > < span class ="nav-list__desc "> New!</ span > </ gl-tooltip
221
+ >
222
+ </ a > ` ,
223
+ ) }
214
224
< gl-feature-badge
215
225
.source =${ this . badgeSource }
216
226
.subscription =${ this . _state . subscription }
0 commit comments