diff --git a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html index d86d32a50..7311bf8f4 100644 --- a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html +++ b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html @@ -267,7 +267,7 @@ } @if (hasCpfp) { - + } diff --git a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts index 59770d97e..fad607ffb 100644 --- a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts +++ b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts @@ -41,6 +41,7 @@ export class TransactionDetailsComponent implements OnInit { @Input() ETA$: Observable; @Output() accelerateClicked = new EventEmitter(); + @Output() toggleCpfp$ = new EventEmitter(); constructor() {} @@ -49,4 +50,8 @@ export class TransactionDetailsComponent implements OnInit { onAccelerateClicked(): void { this.accelerateClicked.emit(true); } + + toggleCpfp(): void { + this.toggleCpfp$.emit(); + } }