@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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8767,7 +8767,7 @@ var DataTableEmptyState = function DataTableEmptyState(_ref) {
|
|
|
8767
8767
|
}, React__default.createElement("div", {
|
|
8768
8768
|
className: styles$M['data-table-empty-state']
|
|
8769
8769
|
}, React__default.createElement(EmptyStateContainerStack, {
|
|
8770
|
-
mediaUrl:
|
|
8770
|
+
mediaUrl: customEmptyState && customEmptyState.image ? customEmptyState.image : '',
|
|
8771
8771
|
mediaComponent: React__default.createElement(EmptyStateIllustration, null),
|
|
8772
8772
|
title: customEmptyState ? customEmptyState.title : translate('emptyStateTitle'),
|
|
8773
8773
|
actions: customEmptyState && customEmptyState.actions,
|
|
@@ -8858,7 +8858,7 @@ var DataTable$1 = function DataTable(_ref) {
|
|
|
8858
8858
|
return React__default.createElement(Context.Provider, {
|
|
8859
8859
|
value: {
|
|
8860
8860
|
columns: columns,
|
|
8861
|
-
showActionMenu: showActionMenu,
|
|
8861
|
+
showActionMenu: state === DATA_TABLE_STATES.EMPTY ? false : showActionMenu,
|
|
8862
8862
|
numberOfRows: numberOfRows,
|
|
8863
8863
|
hasVerticalBorders: hasVerticalBorders,
|
|
8864
8864
|
state: state
|