From a43615e0c0d4edc34a0f4a14172e559f00be298a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 27 Jul 2020 19:21:55 +0200 Subject: break out fullscreen form. refactor heading --- animism-align/frontend/app/views/viewer/viewer.actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js') 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 = {} -- cgit v1.2.3-70-g09d2