File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ import LogoWalletMain from '@/assets/icons/logo_wallet_main.svg'
5555import NewWalletText from ' @/assets/icons/wallet_tagline.svg'
5656import SpinnerIcon from ' @/assets/icons/spinner.svg'
5757import { version as walletVersion } from ' ../../package.json'
58- import { errorToLiqualityErrorString } from ' @liquality/error-parser/dist/src/utils'
5958import { reportLiqualityError } from ' @liquality/error-parser/dist/src/reporters/index'
6059
6160export default {
@@ -71,6 +70,11 @@ export default {
7170 password: ' '
7271 }
7372 },
73+ watch: {
74+ password () {
75+ this .error = null
76+ }
77+ },
7478 methods: {
7579 ... mapActions (' app' , [' trackAnalytics' ]),
7680 ... mapActions ([' unlockWallet' ]),
@@ -88,8 +92,9 @@ export default {
8892 }
8993 })
9094 } catch (e) {
91- this .error = this .$tle (errorToLiqualityErrorString (e))
9295 reportLiqualityError (e)
96+ const { plain } = this .$tle ({ translationKey: ' PasswordError' })
97+ this .error = plain
9398 this .trackAnalytics ({
9499 event : ' UnlockWallet failed' ,
95100 properties: {
You can’t perform that action at this time.
0 commit comments