feat: simplify UI

This commit is contained in:
Vlad Stan
2022-08-03 13:50:01 +03:00
parent ded6df61b1
commit 01c81c1a83
2 changed files with 40 additions and 32 deletions
@@ -49,6 +49,7 @@ new Vue({
authenticated: false,
showPasswordDialog: false,
showConsole: false,
showSignedPsbt: false,
sendingPsbt: false,
psbtSent: false
},
@@ -781,9 +782,9 @@ new Vue({
})
}
},
hwwToggleAuth: function () {
hwwExecuteDefaultCommand: function () {
if (this.hww.authenticated) {
this.hwwLogout()
this.hwwSendPsbt()
} else {
this.hwwShowPasswordDialog()
}