aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-07-05 10:02:14 +0300
committerHenry Jameson <me@hjkos.com>2019-07-05 10:02:14 +0300
commit2c2b84d31dbe906b89dfb995394d887af110e04c (patch)
tree18e70da867cbd2498326cc947916d8ef8b1c6669 /src/components/registration
parent6bea363b9db1c372e0e3add4458ff4c819b7c500 (diff)
npm eslint --fix .
Diffstat (limited to 'src/components/registration')
-rw-r--r--src/components/registration/registration.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index 8dc00420..57f3caf0 100644
--- a/src/components/registration/registration.js
+++ b/src/components/registration/registration.js
@@ -28,7 +28,7 @@ const registration = {
},
created () {
if ((!this.registrationOpen && !this.token) || this.signedIn) {
- this.$router.push({name: 'root'})
+ this.$router.push({ name: 'root' })
}
this.setCaptcha()
@@ -61,7 +61,7 @@ const registration = {
if (!this.$v.$invalid) {
try {
await this.signUp(this.user)
- this.$router.push({name: 'friends'})
+ this.$router.push({ name: 'friends' })
} catch (error) {
console.warn('Registration failed: ' + error)
}