You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: re-enable displaying the top level All link if PL isn't configured to hide this specific link in the ishControlsHide config option. Addresses #1048
Copy file name to clipboardExpand all lines: packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.js
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -572,16 +572,23 @@ class Nav extends BaseComponent {
572
572
);
573
573
})}
574
574
575
-
{/* <li class="pl-c-nav__item">
576
-
<a
577
-
href="styleguide/html/styleguide.html"
578
-
class="pl-c-nav__link pl-c-nav__link--pattern"
579
-
data-patternpartial="all"
580
-
tabindex="0"
581
-
>
582
-
All
583
-
</a>
584
-
</li> */}
575
+
{/* display the All link if window.ishControlsHide is undefined (for some reason) OR window.ishControls.ishControlsHide doesn't have `views-all` and/or `all` set to true */}
0 commit comments