diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js b/animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js index 0ed2f0d..58695e0 100644 --- a/animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js +++ b/animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js @@ -17,13 +17,13 @@ class ChecklistDropdown extends Component { this.setState({ open: false }) } render() { - const { sections, currentSection } = this.props + const { sections, checklistSection } = this.props const { open } = this.state return ( <div className="checklist-dropdown-column"> <div className="checklist-dropdown-container"> <div className="checklist-dropdown" onClick={() => this.handleOpen()}> - {currentSection === 'all' ? 'View All' : 'Section ' + ROMAN_NUMERALS[currentSection]} + {checklistSection === 'all' ? 'View All' : 'Section ' + ROMAN_NUMERALS[checklistSection]} <div className='arrow-box'> <Arrow type={open ? 'up' : 'down'} /> </div> |
