Merge pull request #5634 from mempool/simon/fix-broken-cpfp-button

fix broken cpfp button
This commit is contained in:
softsimon 2024-11-15 08:29:02 +07:00 committed by GitHub
commit 8c80358e71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"