diff --git a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.html b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.html
index 357e98d7..ec23a9e2 100644
--- a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.html
+++ b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.html
@@ -99,7 +99,12 @@
View available comands.
-
+
Console
+
+
+
+
+
+
+ Close
+
+
+
+
diff --git a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js
index 1c4dde60..6e5c96fd 100644
--- a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js
+++ b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js
@@ -12,9 +12,9 @@ async function serialSigner(path) {
writer: null,
readableStreamClosed: null,
reader: null,
-
receivedData: '',
config: {},
+
hww: {
password: null,
showPassword: false,
@@ -25,13 +25,13 @@ async function serialSigner(path) {
showWipeDialog: false,
showRestoreDialog: false,
showConfirmationDialog: false,
- showConsole: false,
showSignedPsbt: false,
sendingPsbt: false,
signingPsbt: false,
psbtSent: false,
psbtSentResolve: null
- }
+ },
+ showConsole: false
}
},
@@ -179,9 +179,7 @@ async function serialSigner(path) {
},
updateSerialPortConsole: function (value) {
this.receivedData += value + '\n'
- const textArea = document.getElementById(
- 'watchonly-serial-port-data-input'
- )
+ const textArea = document.getElementById('serial-port-console')
if (textArea) textArea.scrollTop = textArea.scrollHeight
},
hwwShowPasswordDialog: async function () {