summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-27 23:04:55 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-27 23:04:55 +0200
commitb54da8c0e7e062cee8406d642e4cc7170d279753 (patch)
tree27963770423d8b183e4e140377e5827fb011371e /animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js
parent0919fde0919aa8ce2724ecb9797eee94774fe126 (diff)
stub for fullscreen player. adjusting sizes. refactor component
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js
index 439b905..19eb385 100644
--- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js
+++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js
@@ -18,15 +18,15 @@ class ViewerSectionsNav extends Component {
</span>
</div>
<div>
- <span className="checklist-link link" onClick={() => actions.viewer.toggleSection('checklist')}>
+ <span className="checklist-link link" onClick={() => actions.viewer.toggleComponent('checklist')}>
<Arrow type={viewer.checklist ? 'down': 'up'} />
{'Checklist'}
</span>
</div>
<div>
<span className="transcript-link link" onClick={() => {
- actions.viewer.hideSection('checklist')
- actions.viewer.toggleSection('transcript')
+ actions.viewer.hideComponent('checklist')
+ actions.viewer.toggleComponent('transcript')
}}>
{'Transcript'}
</span>