File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed 
components/dashboard/src/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -341,15 +341,18 @@ export default function RepositoryFinder({
341341                ! onlyConfigurations  && 
342342                searchString . length  >  0  && 
343343                searchString . length  <  3  && 
344-                 authProviders . data ?. some ( ( p )   =>   p . type   ===   AuthProviderType . GITLAB ) 
344+                 usedProviders . includes ( "GitLab" ) 
345345            )  { 
346346                // add an element that tells the user that GitLab only does exact searches for short queries 
347347                result . push ( { 
348348                    id : "gitlab" , 
349349                    element : ( 
350350                        < div  className = "text-sm text-pk-content-tertiary flex items-center" > 
351351                            < Exclamation2  className = "w-4 h-4 mr-2"  /> 
352-                             < span > Search is too short for searching on GitLab.</ span > 
352+                             < span > 
353+                                 Search text is < 3 characters. GitLab will only show exact matches for short
354+                                 searches.
355+                             </ span > 
353356                        </ div > 
354357                    ) , 
355358                    isSelectable : false , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments