Skip to content
Snippets Groups Projects
Unverified Commit 07587b95 authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix empty state

parent 55638d7d
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,7 @@ export default class EntityList extends Component {
/>
:
<div className={S.empty}>
<EmptyState message={this.props.emptyState || section.empty} icon={section.icon} />
<EmptyState message={section.section === "all" && this.props.defaultEmptyState ? this.props.defaultEmptyState : section.empty} icon={section.icon} />
</div>
}
</LoadingAndErrorWrapper>
......
......@@ -109,7 +109,7 @@ export default class QuestionIndex extends Component {
...location,
query: { ...location.query, f: section }
})}
emptyState="Questions that aren’t in a collection will be shown here"
defaultEmptyState="Questions that aren’t in a collection will be shown here"
/>
</Collapse>
</div>
......
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