summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/checklist/checklist.content.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.content.js
parent3499c61481bd6c5e9081814f959f38c5d0f5c68d (diff)
moving checklist section to credits thingie
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.js4
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 (