mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Merge pull request #5701 from mempool/natsoni/fix-inscription-badge
Fix inscription badge disappearing when loading more inputs
This commit is contained in:
commit
4b56144e6e
1 changed files with 4 additions and 0 deletions
|
@ -351,8 +351,12 @@ export class TransactionsListComponent implements OnInit, OnChanges {
|
|||
this.electrsApiService.getTransaction$(tx.txid)
|
||||
.subscribe((newTx) => {
|
||||
tx['@vinLoaded'] = true;
|
||||
let temp = tx.vin;
|
||||
tx.vin = newTx.vin;
|
||||
tx.fee = newTx.fee;
|
||||
for (const [index, vin] of temp.entries()) {
|
||||
newTx.vin[index].isInscription = vin.isInscription;
|
||||
}
|
||||
this.ref.markForCheck();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue