@7shifts/sous-chef 3.13.2 → 3.13.3

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.
package/dist/index.js CHANGED
@@ -5687,8 +5687,10 @@ var KebabMenu = function KebabMenu(_ref) {
5687
5687
  theme: "link-icon"
5688
5688
  }, React__default.createElement(IconEllipsisV, null)),
5689
5689
  alignment: "right"
5690
- }, React__default.createElement(DropdownList, null, actions.map(function (action) {
5691
- return !action.hidden && React__default.createElement(DropdownListItem, {
5690
+ }, React__default.createElement(DropdownList, null, actions.filter(function (action) {
5691
+ return !action.hidden;
5692
+ }).map(function (action) {
5693
+ return React__default.createElement(DropdownListItem, {
5692
5694
  onClick: action.onAction,
5693
5695
  key: action.action
5694
5696
  }, action.label);