Merge branch 'master' into dependabot/npm_and_yarn/frontend/cypress-15.7.0

This commit is contained in:
Felipe Knorr Kuhn 2025-11-27 13:56:47 -03:00 committed by GitHub
commit f18b89d129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 5 deletions

View file

@ -25,7 +25,7 @@
"component": "twitter",
"mobileOrder": 5,
"props": {
"handle": "Metaplanet_JP"
"handle": "Metaplanet"
}
},
{

View file

@ -16,7 +16,7 @@
</thead>
<tbody>
<ng-template [ngIf]="cpfpInfo?.descendants?.length">
<tr *ngFor="let cpfpTx of cpfpInfo.descendants">
<tr *ngFor="let cpfpTx of cpfpInfo.descendants; trackBy: trackByIndex">
<td><span class="badge badge-primary" i18n="transaction.descendant|Descendant">Descendant</span></td>
<td>
<app-truncate [text]="cpfpTx.txid" [link]="['/tx' | relativeUrl, cpfpTx.txid]"></app-truncate>
@ -40,7 +40,7 @@
</tr>
</ng-template>
<ng-template [ngIf]="cpfpInfo?.ancestors?.length">
<tr *ngFor="let cpfpTx of cpfpInfo.ancestors">
<tr *ngFor="let cpfpTx of cpfpInfo.ancestors; trackBy: trackByIndex">
<td><span class="badge badge-primary" i18n="transaction.ancestor|Transaction Ancestor">Ancestor</span></td>
<td class="txids">
<app-truncate [text]="cpfpTx.txid" [link]="['/tx' | relativeUrl, cpfpTx.txid]"></app-truncate>

View file

@ -20,4 +20,8 @@ export class CpfpInfoComponent implements OnInit {
roundToOneDecimal(cpfpTx: any): number {
return +(cpfpTx.fee / (cpfpTx.weight / 4)).toFixed(1);
}
trackByIndex(index: number): number {
return index;
}
}

View file

@ -56,7 +56,7 @@
</ng-container>
</span>
<span *ngSwitchCase="'output'">
<ng-container *ngIf="line.blockHeight && line?.spent">
<ng-container *ngIf="(stateService.backend$ | async) === 'esplora' && line.blockHeight && line?.spent">
<ng-container *ngIf="line?.status?.block_height; else noBlockHeight">
<ng-container *ngTemplateOutlet="nBlocksLater; context:{n: line?.status?.block_height - line.blockHeight, connector: false}"></ng-container>
</ng-container>

View file

@ -54,7 +54,7 @@ export class TxBowtieGraphTooltipComponent implements OnChanges {
constructor(
private priceService: PriceService,
private stateService: StateService,
public stateService: StateService,
private apiService: ApiService,
) {}