diff --git a/packages/react/src/components/DataTable/DataTable.js b/packages/react/src/components/DataTable/DataTable.js index ae2dbe8d2937..da3ecd9e3bd4 100644 --- a/packages/react/src/components/DataTable/DataTable.js +++ b/packages/react/src/components/DataTable/DataTable.js @@ -396,7 +396,7 @@ export default class DataTable extends React.Component { const totalSelected = this.getSelectedRows().length; return { ...props, - shouldShowBatchActions, + shouldShowBatchActions: shouldShowBatchActions && totalSelected > 0, totalSelected, onCancel: this.handleOnCancel, };