summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-10 01:41:04 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-10 01:41:04 +0200
commitac03ba9a645066acfda0449a879034531bb6cee3 (patch)
tree6f0ee39bb72f9826e4ac93e4b2522fa6074a0c57 /animism-align/frontend/app/views/viewer/checklist/checklist.dropdown.js
parent3499c61481bd6c5e9081814f959f38c5d0f5c68d (diff)
moving checklist section to credits thingie
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.js4
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>