File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
EssentialCSharp.Web/Services Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33public  class  SiteMappingDto 
44{ 
55    public  required  int  Level  {  get ;  set ;  } 
6-     public  required  List < string >  Key  {  get ;  set ;  } 
6+     public  required  List < string >  Keys  {  get ;  set ;  } 
77    public  required  string  Href  {  get ;  set ;  } 
88    public  required  string  Title  {  get ;  set ;  } 
99    public  required  IEnumerable < SiteMappingDto >  Items  {  get ;  set ;  } 
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public IEnumerable<SiteMappingDto> GetTocData()
2222            return  new  SiteMappingDto ( ) 
2323            { 
2424                Level  =  0 , 
25-                 Key  =  [ firstX . Keys . First ( ) ] , 
25+                 Keys  =  [ firstX . Keys . First ( ) ] , 
2626                Href  =  $ "{ firstX . Keys . First ( ) } #{ firstX . AnchorId } ", 
2727                Title  =  $ "Chapter { x . Key } : { firstX . ChapterTitle } ", 
2828                Items  =  GetItems ( orderedX . Skip ( 1 ) ,  1 ) 
@@ -42,7 +42,7 @@ private static IEnumerable<SiteMappingDto> GetItems(IEnumerable<SiteMapping> cha
4242            . Select ( i =>  new  SiteMappingDto ( ) 
4343            { 
4444                Level  =  indentLevel , 
45-                 Key  =  i . Keys , 
45+                 Keys  =  i . Keys , 
4646                Href  =  $ "{ i . Keys . First ( ) } #{ i . AnchorId } ", 
4747                Title  =  i . RawHeading , 
4848                // Any children of this node will be /after/ this node, 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments