Skip to content
Snippets Groups Projects
Commit 5e06905b authored by Kyle Doherty's avatar Kyle Doherty
Browse files

only show filter widget if there are items to filter

parent d7b9cc1e
Branches
Tags
No related merge requests found
......@@ -187,7 +187,7 @@ export default class EntityList extends Component {
:
null
}
{ onChangeSection &&
{ entityIds.length > 0 && onChangeSection &&
<EntityFilterWidget
section={section}
onChange={onChangeSection}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment