From e7f4d742c43b85fe6c5b7e21c4d3b2cf9ff7e82c Mon Sep 17 00:00:00 2001 From: Adabriand Furtado Date: Tue, 13 Dec 2016 21:31:59 -0200 Subject: [PATCH] Fixes on Volunteers module --- assets/js/volunteers/volunteers.service.js | 1 + assets/templates/sections.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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