fix cpfp button
This commit is contained in:
		
							parent
							
								
									23475c7a1b
								
							
						
					
					
						commit
						96c2b0a2f7
					
				@ -267,7 +267,7 @@
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          @if (hasCpfp) {
 | 
					          @if (hasCpfp) {
 | 
				
			||||||
            <button type="button" class="btn btn-outline-info btn-sm btn-small-height float-right" (click)="showCpfpDetails = !showCpfpDetails">CPFP <fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true"></fa-icon></button>
 | 
					            <button type="button" class="btn btn-outline-info btn-sm btn-small-height float-right" (click)="toggleCpfp()">CPFP <fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true"></fa-icon></button>
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        </td>
 | 
					        </td>
 | 
				
			||||||
      </tr>
 | 
					      </tr>
 | 
				
			||||||
 | 
				
			|||||||
@ -41,6 +41,7 @@ export class TransactionDetailsComponent implements OnInit {
 | 
				
			|||||||
  @Input() ETA$: Observable<ETA>;
 | 
					  @Input() ETA$: Observable<ETA>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @Output() accelerateClicked = new EventEmitter<boolean>();
 | 
					  @Output() accelerateClicked = new EventEmitter<boolean>();
 | 
				
			||||||
 | 
					  @Output() toggleCpfp$ = new EventEmitter<void>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  constructor() {}
 | 
					  constructor() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -49,4 +50,8 @@ export class TransactionDetailsComponent implements OnInit {
 | 
				
			|||||||
  onAccelerateClicked(): void {
 | 
					  onAccelerateClicked(): void {
 | 
				
			||||||
    this.accelerateClicked.emit(true);
 | 
					    this.accelerateClicked.emit(true);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    toggleCpfp(): void {
 | 
				
			||||||
 | 
					    this.toggleCpfp$.emit();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user