parent
0b4b43ab70
commit
de212d8594
1 changed files with 2 additions and 4 deletions
|
@ -250,9 +250,7 @@ angular.module('quay').directive('entitySearch', function () {
|
||||||
if ($scope.isAdmin && isSupported('robot')) { classes.push('robot accounts'); }
|
if ($scope.isAdmin && isSupported('robot')) { classes.push('robot accounts'); }
|
||||||
if ($scope.isOrganization && isSupported('team')) { classes.push('teams'); }
|
if ($scope.isOrganization && isSupported('team')) { classes.push('teams'); }
|
||||||
|
|
||||||
if (classes.length > 1) {
|
if (classes.length == 0) {
|
||||||
classes[classes.length - 1] = 'or ' + classes[classes.length - 1];
|
|
||||||
} else if (classes.length == 0) {
|
|
||||||
return '<div class="tt-empty">No matching entities found</div>';
|
return '<div class="tt-empty">No matching entities found</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue