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
1 changed files with 1 additions and 1 deletions

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>