This commit is contained in:
Joseph Schorr 2015-05-06 18:22:42 -04:00
parent c04cb4e988
commit 61dcf86d2a

View file

@ -23,6 +23,8 @@ angular.module('quay').directive('notificationView', function () {
$scope.getAvatar = function(orgname) { $scope.getAvatar = function(orgname) {
var organization = UserService.getOrganization(orgname); var organization = UserService.getOrganization(orgname);
if (!organization) { return ''; }
return organization['avatar'] || ''; return organization['avatar'] || '';
}; };