From a526cb57032754a09bf01534af3b03ec145a8b77 Mon Sep 17 00:00:00 2001 From: Brett Hardin Date: Tue, 29 Dec 2015 11:11:36 -0800 Subject: [PATCH] Bugfix: TypeError: Cannot read property 'history' of undefined Previously broke when a resume didn't have a service section --- themes/minimist/src/html.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/minimist/src/html.html b/themes/minimist/src/html.html index fa6b920..1ee1f93 100644 --- a/themes/minimist/src/html.html +++ b/themes/minimist/src/html.html @@ -162,7 +162,7 @@ engine: Underscore {% } %} -{% if ( r.service.history && r.service.history.length ) { %} +{% if ( r.service && r.service.history && r.service.history.length ) { %}