@7shifts/sous-chef 3.40.0 → 3.40.1

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
@@ -8771,7 +8771,7 @@ var DataTableEmptyState = function DataTableEmptyState(_ref) {
8771
8771
  }, React__default.createElement("div", {
8772
8772
  className: styles$M['data-table-empty-state']
8773
8773
  }, React__default.createElement(EmptyStateContainerStack, {
8774
- mediaUrl: "",
8774
+ mediaUrl: customEmptyState && customEmptyState.image ? customEmptyState.image : '',
8775
8775
  mediaComponent: React__default.createElement(EmptyStateIllustration, null),
8776
8776
  title: customEmptyState ? customEmptyState.title : translate('emptyStateTitle'),
8777
8777
  actions: customEmptyState && customEmptyState.actions,
@@ -8862,7 +8862,7 @@ var DataTable$1 = function DataTable(_ref) {
8862
8862
  return React__default.createElement(Context.Provider, {
8863
8863
  value: {
8864
8864
  columns: columns,
8865
- showActionMenu: showActionMenu,
8865
+ showActionMenu: state === DATA_TABLE_STATES.EMPTY ? false : showActionMenu,
8866
8866
  numberOfRows: numberOfRows,
8867
8867
  hasVerticalBorders: hasVerticalBorders,
8868
8868
  state: state