Fix the problem where users in normal repos are marked as outside of the organization.

This commit is contained in:
yackob03 2013-11-05 17:10:14 -05:00
parent 22dd031f91
commit a1476b32ea
4 changed files with 57 additions and 24 deletions

View file

@ -422,7 +422,7 @@ quayApp.directive('entitySearch', function () {
}
template += '<span class="name">' + datum.value + '</span>';
if (!datum.entity.is_org_member) {
if (datum.entity.is_org_member !== undefined && !datum.entity.is_org_member) {
template += '<div class="alert-warning warning">This user is outside your organization</div>';
}