@spectrum-web-components/menu
Advanced tools
Comparing version 0.11.1 to 0.11.2
{ | ||
"name": "@spectrum-web-components/menu", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"publishConfig": { | ||
@@ -53,7 +53,7 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/action-button": "^0.7.1", | ||
"@spectrum-web-components/action-button": "^0.7.2", | ||
"@spectrum-web-components/base": "^0.5.1", | ||
"@spectrum-web-components/icon": "^0.11.1", | ||
"@spectrum-web-components/icons-ui": "^0.8.1", | ||
"@spectrum-web-components/shared": "^0.13.1", | ||
"@spectrum-web-components/shared": "^0.13.2", | ||
"tslib": "^2.0.0" | ||
@@ -69,3 +69,3 @@ }, | ||
], | ||
"gitHead": "df3f333ee26a45f9fc247716b6e8ef051dca630b" | ||
"gitHead": "5ad16bd185710525afa48bd76099cb0ebde4c4cb" | ||
} |
@@ -71,3 +71,5 @@ /* | ||
this.cachedChildItems = []; | ||
const slotElements = this.menuSlot.assignedElements({ flatten: true }); | ||
const slotElements = this.menuSlot | ||
? this.menuSlot.assignedElements({ flatten: true }) | ||
: []; | ||
for (const slotElement of slotElements) { | ||
@@ -74,0 +76,0 @@ const childMenuItems = slotElement instanceof MenuItem |
Sorry, the diff of this file is not supported yet
333469
4594