summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/viewer.sections.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.js')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/viewer.sections.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js
index f4089e2..5cf40eb 100644
--- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js
+++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js
@@ -30,14 +30,14 @@ class ViewerSections extends Component {
>
<div>
<div className="section-thumbnail" style={{
- backgroundImage: section.media.length && 'url(' + thumbnailURL(section.media[0]) + ')',
+ backgroundImage: section.media.length && 'url(' + thumbnailURL(section.media[0].media) + ')',
}}/>
<div className="section-title">
{ROMAN_NUMERALS[section.index]}<br />
{section.title}
</div>
<div className="section-media">
- {section.media.map(media => media.type).join(', ')}
+ {section.mediaTypes}
</div>
</div>
</div>