fix cpfp button
This commit is contained in:
		
							parent
							
								
									23475c7a1b
								
							
						
					
					
						commit
						96c2b0a2f7
					
				@ -267,7 +267,7 @@
 | 
			
		||||
            }
 | 
			
		||||
          </div>
 | 
			
		||||
          @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>
 | 
			
		||||
      </tr>
 | 
			
		||||
 | 
			
		||||
@ -41,6 +41,7 @@ export class TransactionDetailsComponent implements OnInit {
 | 
			
		||||
  @Input() ETA$: Observable<ETA>;
 | 
			
		||||
 | 
			
		||||
  @Output() accelerateClicked = new EventEmitter<boolean>();
 | 
			
		||||
  @Output() toggleCpfp$ = new EventEmitter<void>();
 | 
			
		||||
 | 
			
		||||
  constructor() {}
 | 
			
		||||
 | 
			
		||||
@ -49,4 +50,8 @@ export class TransactionDetailsComponent implements OnInit {
 | 
			
		||||
  onAccelerateClicked(): void {
 | 
			
		||||
    this.accelerateClicked.emit(true);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
    toggleCpfp(): void {
 | 
			
		||||
    this.toggleCpfp$.emit();
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user