summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/viewer.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-27 19:21:55 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-27 19:21:55 +0200
commita43615e0c0d4edc34a0f4a14172e559f00be298a (patch)
tree663659aff8b9e221947594bcbd988dd5f55b8b0f /animism-align/frontend/app/views/viewer/viewer.actions.js
parent268f4784b4dc24829ecea74913af301237b98fb4 (diff)
break out fullscreen form. refactor heading
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js')
-rw-r--r--animism-align/frontend/app/views/viewer/viewer.actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js
index f8bc116..3d5fe49 100644
--- a/animism-align/frontend/app/views/viewer/viewer.actions.js
+++ b/animism-align/frontend/app/views/viewer/viewer.actions.js
@@ -21,7 +21,7 @@ export const loadSections = () => dispatch => {
// loop over the annotations in time order. group the media found in each section.
annotationOrder.forEach((annotation_id, i) => {
const annotation = annotationLookup[annotation_id]
- if (annotation.type === 'header') {
+ if (annotation.type === 'section_heading') {
if (currentSection) {
currentSection.mediaLabels = Object.keys(mediaLabels).join(', ')
mediaLabels = {}