From 41052dd5b95cf2813662d8201b206ad2af78da40 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 23 Sep 2020 14:16:16 +0200 Subject: fixing heights of carousels. set media title from fullscreen video --- .../frontend/app/views/viewer/nav/nav.parent.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/nav/nav.parent.js') diff --git a/animism-align/frontend/app/views/viewer/nav/nav.parent.js b/animism-align/frontend/app/views/viewer/nav/nav.parent.js index 5ddc13d..fc72cf3 100644 --- a/animism-align/frontend/app/views/viewer/nav/nav.parent.js +++ b/animism-align/frontend/app/views/viewer/nav/nav.parent.js @@ -49,13 +49,15 @@ class NavParent extends Component {
actions.viewer.toggleComponent('nav')}> - {viewer.currentSection && - - {ROMAN_NUMERALS[viewer.currentSection.index]} - {'. '} - {viewer.currentSection.title} - - } + {viewer.currentSection && ( + viewer.mediaTitle + ? {viewer.mediaTitle} + : + {ROMAN_NUMERALS[viewer.currentSection.index]} + {'. '} + {viewer.currentSection.title} + + )}
-- cgit v1.2.3-70-g09d2