Bugfix: JS error in transactions.component

fixes #126
This commit is contained in:
softsimon 2020-10-08 17:53:02 +07:00
parent ad144a34ac
commit dfda0d1890
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

View file

@ -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,