Skip to content
Snippets Groups Projects
Commit 21c7bb51 authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Flip the logical condition as requested in review

parent 2dbf59c4
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ export default class EntityList extends Component {
const section = this.getSection();
const hasEntitiesInPlainState = !(section.section === "all" && entityIds.length === 0);
const hasEntitiesInPlainState = entityIds.length > 0 || section.section !== "all";
const showActionHeader = (editable && selectedCount > 0);
const showSearchHeader = (hasEntitiesInPlainState && showSearchWidget);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment