From b34f6fedb648eabc0776ad0a46329a1fc7a6126c Mon Sep 17 00:00:00 2001 From: softsimon Date: Fri, 20 Aug 2021 14:56:12 +0300 Subject: [PATCH] Redirect unconfirmed bisq transactions to main website for tracking. --- .../app/bisq/bisq-transaction/bisq-transaction.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.ts b/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.ts index d42b7d521..c736a2fa9 100644 --- a/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.ts +++ b/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.ts @@ -85,7 +85,11 @@ export class BisqTransactionComponent implements OnInit, OnDestroy { } if (tx.version) { - this.router.navigate(['/tx/', this.txId], { state: { data: tx, bsqTx: true }}); + if (this.stateService.env.BASE_MODULE === 'bisq') { + window.location.replace('https://mempool.space/tx/' + this.txId); + } else { + this.router.navigate(['/tx/', this.txId], { state: { data: tx, bsqTx: true }}); + } return of(null); }