Skip to content

Commit fa73c9a

Browse files
committed
chore: update JS per PR feedback
1 parent ffefa46 commit fa73c9a

File tree

1 file changed

+2
-2
lines changed
  • packages/uikit-workshop/src/scripts/components/pl-nav

1 file changed

+2
-2
lines changed

packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const SubSubList = props => {
5252
)}
5353
</a>
5454

55-
{nonViewAllItems.length >= 1 && (
55+
{nonViewAllItems.length > 0 && (
5656
<SpecialButton
5757
aria-controls={category}
5858
onClick={elem.toggleSpecialNavPanel}
@@ -75,7 +75,7 @@ const SubSubList = props => {
7575
</Button>
7676
)}
7777

78-
{((viewAllItems.length > 0 && nonViewAllItems.length >= 1) ||
78+
{((viewAllItems.length > 0 && nonViewAllItems.length > 0) ||
7979
viewAllItems.length === 0) && (
8080
<ol
8181
id={category}

0 commit comments

Comments
 (0)