File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
packages/uikit-workshop/src/scripts/components/pl-nav Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -307,19 +307,20 @@ class Nav extends BaseComponent {
307
307
{ ( window . ishControls === undefined ||
308
308
window . ishControls . ishControlsHide === undefined ||
309
309
( window . ishControls . ishControlsHide [ 'views-all' ] !== true &&
310
- window . ishControls . ishControlsHide . all !== true ) ) && (
311
- < NavItem >
312
- < a
313
- onClick = { e => this . handleClick ( e , 'all' ) }
314
- href = "styleguide/html/styleguide.html"
315
- class = "pl-c-nav__link pl-c-nav__link--pattern"
316
- data-patternpartial = "all"
317
- tabindex = "0"
318
- >
319
- All
320
- </ a >
321
- </ NavItem >
322
- ) }
310
+ window . ishControls . ishControlsHide . all !== true ) ) &&
311
+ ! this . noViewAll && (
312
+ < NavItem >
313
+ < a
314
+ onClick = { e => this . handleClick ( e , 'all' ) }
315
+ href = "styleguide/html/styleguide.html"
316
+ class = "pl-c-nav__link pl-c-nav__link--pattern"
317
+ data-patternpartial = "all"
318
+ tabindex = "0"
319
+ >
320
+ All
321
+ </ a >
322
+ </ NavItem >
323
+ ) }
323
324
</ ol >
324
325
) ;
325
326
}
You can’t perform that action at this time.
0 commit comments