fix broken cpfp button

This commit is contained in:
softsimon 2024-11-12 03:14:53 +07:00
parent 5b2f613856
commit 8b699da721
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
3 changed files with 2 additions and 4 deletions

View File

@ -280,7 +280,7 @@
<ng-template #acceleratingRow> <ng-template #acceleratingRow>
<tr> <tr>
<td rowspan="2" colspan="2" style="padding: 0;"> <td rowspan="2" colspan="2" style="padding: 0;">
<app-active-acceleration-box [acceleratedBy]="tx.acceleratedBy" [effectiveFeeRate]="tx.effectiveFeePerVsize" [accelerationInfo]="accelerationInfo" [miningStats]="miningStats" [hasCpfp]="hasCpfp" (toggleCpfp)="showCpfpDetails = !showCpfpDetails" [chartPositionLeft]="isMobile"></app-active-acceleration-box> <app-active-acceleration-box [acceleratedBy]="tx.acceleratedBy" [effectiveFeeRate]="tx.effectiveFeePerVsize" [accelerationInfo]="accelerationInfo" [miningStats]="miningStats" [hasCpfp]="hasCpfp" (toggleCpfp)="toggleCpfp()" [chartPositionLeft]="isMobile"></app-active-acceleration-box>
</td> </td>
</tr> </tr>
<tr></tr> <tr></tr>

View File

@ -29,7 +29,6 @@ export class TransactionDetailsComponent implements OnInit {
@Input() hasEffectiveFeeRate: boolean; @Input() hasEffectiveFeeRate: boolean;
@Input() cpfpInfo: CpfpInfo; @Input() cpfpInfo: CpfpInfo;
@Input() hasCpfp: boolean; @Input() hasCpfp: boolean;
@Input() showCpfpDetails: boolean;
@Input() accelerationInfo: Acceleration; @Input() accelerationInfo: Acceleration;
@Input() acceleratorAvailable: boolean; @Input() acceleratorAvailable: boolean;
@Input() accelerateCtaType: string; @Input() accelerateCtaType: string;

View File

@ -52,7 +52,6 @@
[hasEffectiveFeeRate]="hasEffectiveFeeRate" [hasEffectiveFeeRate]="hasEffectiveFeeRate"
[cpfpInfo]="cpfpInfo" [cpfpInfo]="cpfpInfo"
[hasCpfp]="hasCpfp" [hasCpfp]="hasCpfp"
[showCpfpDetails]="showCpfpDetails"
[accelerationInfo]="accelerationInfo" [accelerationInfo]="accelerationInfo"
[replaced]="replaced" [replaced]="replaced"
[isCached]="isCached" [isCached]="isCached"