labsense-ui-kit 1.2.77 → 1.2.78

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.
@@ -9463,7 +9463,14 @@ var Sidebar = function Sidebar(_ref22) {
9463
9463
  }, [item.url, location.pathname]);
9464
9464
  return item.url ? React.createElement(SidebarLink, {
9465
9465
  to: item.url,
9466
- onClick: handleNavClick
9466
+ onClick: function onClick(e) {
9467
+ if (item.onClick) {
9468
+ e.preventDefault();
9469
+ item.onClick();
9470
+ } else {
9471
+ handleNavClick(e);
9472
+ }
9473
+ }
9467
9474
  }, ContentLayout) : React.createElement(Container, {
9468
9475
  "$flexDirection": 'column',
9469
9476
  "$alignItems": 'start',