@ansible/ansible-ui-framework 0.0.583 → 0.0.585

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,8 +42,7 @@ function PagePinnedAction(props) {
42
42
  wrapper: wrapper }));
43
43
  }
44
44
  case PageActionType_1.PageActionType.button: {
45
- return ((0, jsx_runtime_1.jsx)(PageButtonAction_1.PageButtonAction, { action: action, isSecondary: (selectedItems !== undefined && selectedItems.length !== 0) ||
46
- selectedItem !== undefined, iconOnly: props.iconOnly, wrapper: wrapper }));
45
+ return ((0, jsx_runtime_1.jsx)(PageButtonAction_1.PageButtonAction, { action: action, isSecondary: selectedItems !== undefined && selectedItems.length !== 0, iconOnly: props.iconOnly, wrapper: wrapper }));
47
46
  }
48
47
  case PageActionType_1.PageActionType.dropdown: {
49
48
  var tooltip = action.label;
package/cjs/PageHeader.js CHANGED
@@ -28,7 +28,7 @@ function Breadcrumbs(props) {
28
28
  return ((0, jsx_runtime_1.jsx)(react_core_1.Breadcrumb, __assign({ style: props.style }, { children: props.breadcrumbs.map(function (breadcrumb) {
29
29
  var _a;
30
30
  if (!breadcrumb.label)
31
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
31
+ return null;
32
32
  return ((0, jsx_runtime_1.jsx)(react_core_1.BreadcrumbItem, __assign({ id: breadcrumb.id, component: breadcrumb.component, isActive: breadcrumb.to === undefined }, { children: breadcrumb.to ? ((0, jsx_runtime_1.jsx)("a", __assign({ href: breadcrumb.to, onClick: function (e) {
33
33
  e.preventDefault();
34
34
  navigate(breadcrumb.to);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "0.0.583",
4
+ "version": "0.0.585",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",