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