Convert all remaining tabs by 2spaces
[vchess.git] / client / src / components / UpsertUser.vue
index 51edba3..ecd51fa 100644 (file)
@@ -46,20 +46,20 @@ export default {
       enterTime: Number.MAX_SAFE_INTEGER, //for a basic anti-bot strategy
     };
   },
-       watch: {
-               nameOrEmail: function(newValue) {
-                       if (newValue.indexOf('@') >= 0)
-                       {
-                               this.user.email = newValue;
-                               this.user.name = "";
-                       }
-                       else
-                       {
-                               this.user.name = newValue;
-                               this.user.email = "";
-                       }
-               },
-       },
+  watch: {
+    nameOrEmail: function(newValue) {
+      if (newValue.indexOf('@') >= 0)
+      {
+        this.user.email = newValue;
+        this.user.name = "";
+      }
+      else
+      {
+        this.user.name = newValue;
+        this.user.email = "";
+      }
+    },
+  },
   computed: {
     submitMessage: function() {
       switch (this.stage)