From dfda0d1890d0eb5ecd4317061266fef78326013a Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 8 Oct 2020 17:53:02 +0700 Subject: [PATCH] Bugfix: JS error in transactions.component fixes #126 --- .../src/app/components/transaction/transaction.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index 946b49a57..5983a20fe 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -106,7 +106,7 @@ export class TransactionComponent implements OnInit, OnDestroy { .subscribe(([block, txConfirmed]) => { this.latestBlock = block; - if (txConfirmed) { + if (txConfirmed && this.tx) { this.tx.status = { confirmed: true, block_height: block.height,