mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	fix: first menu item keeps always selected
This commit is contained in:
		
							parent
							
								
									392ac71eb4
								
							
						
					
					
						commit
						1fb6967064
					
				| 
						 | 
				
			
			@ -192,7 +192,7 @@ export class MenuStore {
 | 
			
		|||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    this.activeItemIdx = item.absoluteIdx || -1;
 | 
			
		||||
    this.activeItemIdx = item.absoluteIdx!;
 | 
			
		||||
    if (updateHash) {
 | 
			
		||||
      HistoryService.update(item.getHash(), rewriteHistory);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user