File tree Expand file tree Collapse file tree
packages/uikit-workshop/src/scripts/components/pl-nav Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,19 +307,20 @@ class Nav extends BaseComponent {
307307 { ( window . ishControls === undefined ||
308308 window . ishControls . ishControlsHide === undefined ||
309309 ( 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+ ) }
323324 </ ol >
324325 ) ;
325326 }
You can’t perform that action at this time.
0 commit comments