tenjin-ui-kit 0.2.172 → 0.2.173

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.
@@ -56,17 +56,18 @@ function BreadCrumbs(props) {
56
56
  navigate(item.link);
57
57
  }
58
58
  }
59
+ setMenuOpen(false);
59
60
  }
60
61
  var handleMenuClose = function handleMenuClose(event, item) {
61
- if (item && item.onClick) {
62
- item.onClick(item.data);
63
- } else if (item && item.link !== undefined) {
64
- if (item.serverSide) {
65
- window.location.href = item.link;
66
- } else {
67
- navigate(item.link);
68
- }
69
- }
62
+ // if (item && item.onClick) {
63
+ // item.onClick(item.data);
64
+ // } else if (item && item.link !== undefined) {
65
+ // if (item.serverSide) {
66
+ // window.location.href = item.link;
67
+ // } else {
68
+ // navigate(item.link);
69
+ // }
70
+ // }
70
71
  setMenuOpen(false);
71
72
  };
72
73
  return /*#__PURE__*/React.createElement("div", {
@@ -154,7 +155,7 @@ function BreadCrumbs(props) {
154
155
  return /*#__PURE__*/React.createElement(_material.MenuItem, {
155
156
  key: index,
156
157
  onClick: function onClick(e) {
157
- return handleMenuClose(e, breadcrumb);
158
+ return handleClick(e, breadcrumb);
158
159
  },
159
160
  sx: (_ref = {
160
161
  textDecoration: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.172",
3
+ "version": "0.2.173",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },