File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22' @shopify/polaris ' minor 
33--- 
44
5- Adds  the ability for breadcrumbs to be passed as a singular object instead of an array to allow support for upcoming v11 changes
5+ Added  the ability for breadcrumbs to be passed as a singular object instead of an array to allow support for upcoming v11 changes
Original file line number Diff line number Diff line change @@ -98,7 +98,8 @@ export function Header({
9898    ! actionGroups . length ; 
9999
100100  const  breadcrumbMarkup  = 
101-     ( Array . isArray ( breadcrumbs )  &&  breadcrumbs . length  >  0 )  ||  breadcrumbs  ? ( 
101+     ( Array . isArray ( breadcrumbs )  &&  breadcrumbs . length  >  0 )  || 
102+     ( ! Array . isArray ( breadcrumbs )  &&  breadcrumbs )  ? ( 
102103      < div  className = { styles . BreadcrumbWrapper } > 
103104        < Breadcrumbs  breadcrumbs = { breadcrumbs }  /> 
104105      </ div > 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments