mirror of
https://github.com/mempool/mempool.git
synced 2025-09-21 21:32:07 +02:00
Merge pull request #5942 from mempool/natsoni/fix-offline-button
Fix offline button wrongly opening tx preview
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<app-transactions-list #txList [transactions]="[transaction]" [transactionPage]="true" [txPreview]="true" forceSignaturesMode="all"></app-transactions-list>
|
||||
<app-transactions-list #txList [transactions]="[transaction]" [transactionPage]="true" [txPreview]="true" [forceSignaturesMode]="isCoinbase ? 'none' : 'all'"></app-transactions-list>
|
||||
|
||||
<div class="title text-left">
|
||||
<h2 i18n="transaction.details|Transaction Details">Details</h2>
|
||||
|
@@ -91,7 +91,7 @@ export class TransactionRawComponent implements OnInit, OnDestroy {
|
||||
if (offline) {
|
||||
this.offlineMode = offline === 'true';
|
||||
}
|
||||
if (this.pushTxForm.get('txRaw').value) {
|
||||
if (hex && this.pushTxForm.get('txRaw').value) {
|
||||
this.decodeTransaction();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user