@energycap/components 0.39.17-ECAP-23124-menu-item-divider-improvements.20240523-1134 → 0.39.17-ECAP-23124-menu-item-divider-improvements.20240523-1609
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.
@@ -2082,7 +2082,7 @@ class MenuComponent {
|
|
2082
2082
|
* @param item The selected item
|
2083
2083
|
*/
|
2084
2084
|
onSelection(item) {
|
2085
|
-
if (item.display !== 'heading') {
|
2085
|
+
if (item.display !== 'heading' && item.display !== 'divided-section') {
|
2086
2086
|
this.selectedChanged.emit(item);
|
2087
2087
|
}
|
2088
2088
|
}
|