1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +00:00

Bugfix: TypeError: Cannot read property 'history' of undefined

Previously broke when a resume didn't have a service section
This commit is contained in:
Brett Hardin 2015-12-29 11:11:36 -08:00
parent d2b0a852d8
commit a526cb5703

View File

@ -162,7 +162,7 @@ engine: Underscore
</section>
{% } %}
{% if ( r.service.history && r.service.history.length ) { %}
{% if ( r.service && r.service.history && r.service.history.length ) { %}
<hr>
<section id="volunteer">
<header>