From ac03ba9a645066acfda0449a879034531bb6cee3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 10 Oct 2020 01:41:04 +0200 Subject: moving checklist section to credits thingie --- .../frontend/app/views/viewer/checklist/checklist.content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/checklist/checklist.content.js') diff --git a/animism-align/frontend/app/views/viewer/checklist/checklist.content.js b/animism-align/frontend/app/views/viewer/checklist/checklist.content.js index 1406996..d0f115c 100644 --- a/animism-align/frontend/app/views/viewer/checklist/checklist.content.js +++ b/animism-align/frontend/app/views/viewer/checklist/checklist.content.js @@ -13,12 +13,12 @@ class ChecklistContent extends Component { } render() { - const { sections, currentSection } = this.props + const { sections, checklistSection } = this.props return (
{sections.map(section => { - if ((currentSection !== "all" && section.index !== currentSection) || !section.media.length) { + if ((checklistSection !== "all" && section.index !== checklistSection) || !section.media.length) { return
} return ( -- cgit v1.2.3-70-g09d2