From c81e70373c752bf21954b192ab2ca8d6edb63a3c Mon Sep 17 00:00:00 2001 From: Adinael Perez Ruelas Date: Tue, 27 Oct 2020 13:13:36 -0700 Subject: [PATCH] web-ui: Add the transaction id to the generated transaction label when the transaction id is generated the value was only showed in the notification service --- .../app/components/trezor-connect/trezor-connect.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-ui/src/app/components/trezor-connect/trezor-connect.component.ts b/web-ui/src/app/components/trezor-connect/trezor-connect.component.ts index 647242bd..1f7a8107 100644 --- a/web-ui/src/app/components/trezor-connect/trezor-connect.component.ts +++ b/web-ui/src/app/components/trezor-connect/trezor-connect.component.ts @@ -178,11 +178,11 @@ export class TrezorConnectComponent implements OnInit { outputs: outputs, refTxs: txs, coin: 'Stakenet' - }).then((result) => { + }).then(async (result) => { if (result.payload.error) { this.notificationService.error(result); } else { - this.pushTransaction(result.payload.serializedTx); + this.txid = await this.pushTransaction(result.payload.serializedTx); } }); });