From 268f4784b4dc24829ecea74913af301237b98fb4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 27 Jul 2020 17:44:28 +0200 Subject: adjusting z-indexes --- animism-align/frontend/app/views/viewer/viewer.actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 73e34fd..f8bc116 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -1,6 +1,6 @@ import * as types from 'app/types' import { store, history, dispatch } from 'app/store' -import { MEDIA_TYPES, MEDIA_LABEL_TYPES } from 'app/constants' +import { MEDIA_ANNOTATION_TYPES, MEDIA_LABEL_TYPES } from 'app/constants' const newSection = (annotation, index, mediaIndex) => ({ start_ts: annotation.start_ts, @@ -29,7 +29,7 @@ export const loadSections = () => dispatch => { currentSection = newSection(annotation, sections.length, mediaIndex) sections.push(currentSection) } - if (MEDIA_TYPES.has(annotation.type)) { + if (MEDIA_ANNOTATION_TYPES.has(annotation.type)) { if (currentSection) { const media = mediaLookup[annotation.settings.media_id] currentSection.media.push({ -- cgit v1.2.3-70-g09d2