aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 10:48:15 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 10:48:15 +0530
commitbd0981867ba8e569e3e2c9b839548a189627df0a (patch)
treed68e1172f4c817a69ed42ebf3c190fcbe6713706
parentafbf9fa4f665404c7128315e2b84f63376f1cdce (diff)
fixed register button still being disabled after password validation failurev0.0.5
-rw-r--r--package.json2
-rw-r--r--src/views/Register.vue1
2 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 236329b..f0b187e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "openbills-web",
- "version": "0.0.4",
+ "version": "0.0.5",
"private": false,
"scripts": {
"dev": "vite",
diff --git a/src/views/Register.vue b/src/views/Register.vue
index c8727d8..5260759 100644
--- a/src/views/Register.vue
+++ b/src/views/Register.vue
@@ -22,6 +22,7 @@ const register = async (e) => {
if (toRaw(password.value) !== toRaw(passwordConfirm.value)) {
toast.error('Password and confirm password do not match')
+ isLoading.value = false
return
}