We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea1c7f commit 77f1f46Copy full SHA for 77f1f46
packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.js
@@ -52,7 +52,7 @@ const SubSubList = props => {
52
)}
53
</a>
54
55
- {nonViewAllItems.length > 1 && (
+ {nonViewAllItems.length >= 1 && (
56
<SpecialButton
57
aria-controls={category}
58
onClick={elem.toggleSpecialNavPanel}
@@ -75,7 +75,7 @@ const SubSubList = props => {
75
</Button>
76
77
78
- {((viewAllItems.length > 0 && nonViewAllItems.length > 1) ||
+ {((viewAllItems.length > 0 && nonViewAllItems.length >= 1) ||
79
viewAllItems.length === 0) && (
80
<ol
81
id={category}
0 commit comments