Fix tx position crash
This commit is contained in:
		
							parent
							
								
									dfc61f3991
								
							
						
					
					
						commit
						91ddf7ea98
					
				@ -412,7 +412,7 @@ export class MempoolBlocksComponent implements OnInit, OnChanges, OnDestroy {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  calculateTransactionPosition() {
 | 
					  calculateTransactionPosition() {
 | 
				
			||||||
    if ((!this.txPosition && !this.txFeePerVSize && (this.markIndex === undefined || this.markIndex === -1)) || !this.mempoolBlocks) {
 | 
					    if ((!this.txPosition && !this.txFeePerVSize && (this.markIndex === undefined || this.markIndex === -1)) || !this.mempoolBlocks?.length) {
 | 
				
			||||||
      this.arrowVisible = false;
 | 
					      this.arrowVisible = false;
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
    } else if (this.markIndex > -1) {
 | 
					    } else if (this.markIndex > -1) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user