diff --git a/src/components/DataListToolbar/DataListToolbar.jsx b/src/components/DataListToolbar/DataListToolbar.jsx index eb8b913911..c48d855dd7 100644 --- a/src/components/DataListToolbar/DataListToolbar.jsx +++ b/src/components/DataListToolbar/DataListToolbar.jsx @@ -85,7 +85,8 @@ class DataListToolbar extends React.Component { onSort, sortedColumnKey, sortOrder, - addUrl + addUrl, + showExpandCollapse } = this.props; const { // isActionDropdownOpen, @@ -202,18 +203,20 @@ class DataListToolbar extends React.Component { - - - - - - - - + { showExpandCollapse && ( + + + + + + + + + )}