[accelerator] hide pizza tracker CTA when irrelevant
This commit is contained in:
		
							parent
							
								
									193c41cb81
								
							
						
					
					
						commit
						48bdae4e78
					
				| @ -381,9 +381,11 @@ export class TrackerComponent implements OnInit, OnDestroy { | |||||||
|             this.trackerStage = 'replaced'; |             this.trackerStage = 'replaced'; | ||||||
|           } |           } | ||||||
| 
 | 
 | ||||||
|           this.showAccelerationSummary = true; |           if (!this.mempoolPosition.accelerated) { | ||||||
|           if (txPosition.position?.block > 0 && this.tx.weight < 4000) { |             this.showAccelerationSummary = true; | ||||||
|             this.accelerationEligible = true; |             if (txPosition.position?.block > 0 && this.tx.weight < 4000) { | ||||||
|  |               this.accelerationEligible = true; | ||||||
|  |             } | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       } else { |       } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user