diff client/src/components/Userdetail.vue @ 400:cb233a5a2ecd

fix: Fixed country validation on submit Fixed wrong validation behaviour.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 14 Aug 2018 14:21:07 +0200
parents b5555bf6d45c
children 746d8c9c35f4
line wrap: on
line diff
--- a/client/src/components/Userdetail.vue	Tue Aug 14 12:34:41 2018 +0200
+++ b/client/src/components/Userdetail.vue	Tue Aug 14 14:21:07 2018 +0200
@@ -67,7 +67,7 @@
 
 .userdetails {
   margin-top: $large-offset;
-  width: 53vw;
+  width: 48vw;
   margin-right: auto;
   height: 100%;
 }
@@ -151,7 +151,7 @@
       this.validateEmailaddress();
       const valid =
         isEmailValid(this.currentUser.email) &&
-        !this.currentUser.country &&
+        this.currentUser.country &&
         this.password === this.passwordre &&
         (this.password === "" || violatedPasswordRules(this.password));
       return valid;