@primer/view-components 0.0.124-rc.687e04cc → 0.0.124-rc.a89f53b0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -157,6 +157,9 @@ _NavListElement_instances = new WeakSet(), _NavListElement_parseHTML = function
|
|
|
157
157
|
var _a;
|
|
158
158
|
// First we compare the selected link to data-item-id for each nav item
|
|
159
159
|
for (const navItem of this.items) {
|
|
160
|
+
if (navItem.classList.contains('ActionListItem--hasSubItem')) {
|
|
161
|
+
continue;
|
|
162
|
+
}
|
|
160
163
|
const keys = ((_a = navItem.getAttribute('data-item-id')) === null || _a === void 0 ? void 0 : _a.split(' ')) || [];
|
|
161
164
|
if (keys.includes(itemId)) {
|
|
162
165
|
return navItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.0.124-rc.
|
|
3
|
+
"version": "0.0.124-rc.a89f53b0",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|