Merge pull request #5204 from mempool/simon/fix-tx-position-crash
Fix tx position frontend error
This commit is contained in:
		
						commit
						e4c9b67239
					
				| @ -412,7 +412,7 @@ export class MempoolBlocksComponent implements OnInit, OnChanges, OnDestroy { | ||||
|   } | ||||
| 
 | ||||
|   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; | ||||
|       return; | ||||
|     } else if (this.markIndex > -1) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user