diff --git a/frontend/src/app/components/transaction/transaction-raw.component.html b/frontend/src/app/components/transaction/transaction-raw.component.html
index fbc0d8e90..40c45bf45 100644
--- a/frontend/src/app/components/transaction/transaction-raw.component.html
+++ b/frontend/src/app/components/transaction/transaction-raw.component.html
@@ -147,7 +147,7 @@
-
+
Details
diff --git a/frontend/src/app/components/transaction/transaction-raw.component.ts b/frontend/src/app/components/transaction/transaction-raw.component.ts
index efdabf036..d48706588 100644
--- a/frontend/src/app/components/transaction/transaction-raw.component.ts
+++ b/frontend/src/app/components/transaction/transaction-raw.component.ts
@@ -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();
}
}