From 428fa8240e649edede9e6b2ce37de98e02b6b8db Mon Sep 17 00:00:00 2001 From: pbca26 Date: Fri, 9 Mar 2018 21:22:50 +0300 Subject: [PATCH 1/7] spv login enter key fix --- react/src/components/login/login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/src/components/login/login.js b/react/src/components/login/login.js index c1bfbbe..e302a2e 100644 --- a/react/src/components/login/login.js +++ b/react/src/components/login/login.js @@ -465,7 +465,8 @@ class Login extends React.Component { handleKeydown(e) { this.updateLoginPassPhraseInput(e); - if (e.key === 'Enter') { + if (e.key === 'Enter' && + this.state.loginPassphrase) { this.loginSeed(); } } From 681273f7d59dc75bc85630e04cb3b5b5af7bc9b1 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Sat, 10 Mar 2018 14:49:17 +0300 Subject: [PATCH 2/7] elections modal fixes --- .../dashboard/notaryElectionsModal/notaryElectionsModal.js | 5 +++-- .../dashboard/notaryElectionsModal/notaryElectionsModal.scss | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js index 87509f6..43e2ae4 100755 --- a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js +++ b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js @@ -535,7 +535,7 @@ class NotaryElectionsModal extends React.Component { Logout } -
+ {/*
this.setUserType('voter') }>I'm a voter @@ -543,7 +543,7 @@ class NotaryElectionsModal extends React.Component { this.setUserType('candidate') }>I'm a candidate -
+
*/} { !this.state.isAuth &&