diff --git a/assets/js/volunteers/volunteers.service.js b/assets/js/volunteers/volunteers.service.js index 7beab45..518434e 100644 --- a/assets/js/volunteers/volunteers.service.js +++ b/assets/js/volunteers/volunteers.service.js @@ -15,6 +15,7 @@ volunteersData['avatars_data'] = []; angular.forEach(volunteersData['users_data'], function(data) { + if (typeof data.info === 'undefined') return; data.info['avatar_url'] = data.info.container && data.info.avatar? baseApiUrl + '/uploads/' + data.info.container + '/' + data.info.avatar : ''; if (data.info['avatar_url'] !== '') { volunteersData['avatars_data'].push(data.info['avatar_url']); diff --git a/assets/templates/sections.html b/assets/templates/sections.html index 102e62b..b8862c2 100644 --- a/assets/templates/sections.html +++ b/assets/templates/sections.html @@ -202,7 +202,7 @@
-
+
-- libgit2 0.21.2