Made a stupid assumption about when users belonged to an organization, now paying for my terrible ways.
This commit is contained in:
parent
109f09f0d0
commit
3a11ea4229
5 changed files with 71 additions and 33 deletions
|
@ -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>';
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue