X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FUpsertUser.vue;h=ecd51fa916e80bfd7e68f3145e64e2f8a2b10358;hp=51edba334ad3d7a3ba8957ecd15fbf0d34bbc1fc;hb=dac395887d96e2d642b209c6db6aaacc3ffacb34;hpb=5fde3a01497262862afc4cb4c9457d4e0ad69a4a diff --git a/client/src/components/UpsertUser.vue b/client/src/components/UpsertUser.vue index 51edba33..ecd51fa9 100644 --- a/client/src/components/UpsertUser.vue +++ b/client/src/components/UpsertUser.vue @@ -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)