diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/checklist/checklist.content.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/checklist/checklist.content.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 ( <div className="checklist-content"> <div className="checklist-table"> {sections.map(section => { - if ((currentSection !== "all" && section.index !== currentSection) || !section.media.length) { + if ((checklistSection !== "all" && section.index !== checklistSection) || !section.media.length) { return <div key={section.index} /> } return ( |
