File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
src/@adobe/gatsby-aio-theme/components/GetCredential Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const CardClientDetails = ({
3737  const  splitedOrderBy  =  clientDetails ?. orderBy ?. split ( ',' )  ||  [ ] ; 
3838  const  orderedComponents  =  splitedOrderBy . length  >  0 
3939    ? splitedOrderBy . map ( component  =>  componentsMap [ component ] ) 
40-     : Object . values ( componentsMap ) ; 
40+     : Object . values ( componentsMap ) ?. map ( key   =>   componentsMap [ key ] ) ; ; 
4141
4242  return  ( 
4343    < div 
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ const ReturnCredentialDetails = ({
3737
3838  const  splitedOrderBy  =  clientDetails ?. orderBy ?. split ( ',' )  ||  [ ] ; 
3939  const  orderedComponents  =  splitedOrderBy . length  >  0 
40-     ? splitedOrderBy . map ( key  =>  componentsMap [ key ] ) 
41-     : Object . values ( componentsMap ) ; 
40+     ? splitedOrderBy ? .map ( key  =>  componentsMap [ key ] ) 
41+     : Object . values ( componentsMap ) ?. map ( key   =>   componentsMap [ key ] ) ; 
4242
4343  return  ( 
4444    < div 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments