Made a stupid assumption about when users belonged to an organization, now paying for my terrible ways.

This commit is contained in:
yackob03 2013-11-04 18:52:38 -05:00
parent 109f09f0d0
commit 3a11ea4229
5 changed files with 71 additions and 33 deletions

View file

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