diff options
| author | Henry Jameson <me@hjkos.com> | 2018-09-09 19:36:13 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-09-17 17:51:39 +0300 |
| commit | 2db991fc7fb1eda11b94d585d3b56f9d94c81286 (patch) | |
| tree | 64a2230035a31a3d4178cda4a9da01e4423f579d /src/components/registration | |
| parent | f1c16327b696666f291d5fb2afdf4033cf9ef76d (diff) | |
some recategorization of options...
Diffstat (limited to 'src/components/registration')
| -rw-r--r-- | src/components/registration/registration.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index 73840608..e53fa4e5 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -5,11 +5,11 @@ const registration = { registering: false }), created () { - if ((!this.$store.state.config.registrationOpen && !this.token) || !!this.$store.state.users.currentUser) { + if ((!this.$store.state.interface.registrationOpen && !this.token) || !!this.$store.state.users.currentUser) { this.$router.push('/main/all') } // Seems like this doesn't work at first page open for some reason - if (this.$store.state.config.registrationOpen && this.token) { + if (this.$store.state.interface.registrationOpen && this.token) { this.$router.push('/registration') } }, |
