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

Fix Jest tests

parent 85ac1982
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ export class QuestionIndex extends Component {
const showNoCollectionsState = !loading && isAdmin && !hasCollections;
const showNoSavedQuestionsState = !loading && !hasCollections && !hasQuestionsWithoutCollection;
const hasEntityListSectionQuery = !!location.query.f;
const hasEntityListSectionQuery = !!(location.query && location.query.f);
const showEntityList = hasQuestionsWithoutCollection || hasEntityListSectionQuery;
const showEverythingElseTitle = showEntityList && hasCollections;
......
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