diff options
| author | raeno <just.raeno@gmail.com> | 2018-12-05 13:47:42 +0400 |
|---|---|---|
| committer | raeno <just.raeno@gmail.com> | 2018-12-05 13:47:42 +0400 |
| commit | 2b903f790d2517b1bfcb31d4b9e784757f0c28f5 (patch) | |
| tree | 0153a915092564e4bfef8b82685565a16a4fe1bc | |
| parent | 0029313775fb294b488ebfd809c88d1ace7eea94 (diff) | |
Fix broken ToS link. Fix linter errors
| -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 ba3561a0..69474585 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -1,7 +1,7 @@ import { validationMixin } from 'vuelidate' import { required } from 'vuelidate/lib/validators' import { mapActions, mapState } from 'vuex' -import { SIGN_UP } from "../../mutation_types" +import { SIGN_UP } from '../../mutation_types' const registration = { mixins: [validationMixin], @@ -36,7 +36,7 @@ const registration = { ...mapState({ isPending: (state) => state.users[SIGN_UP.isPending], serverValidationErrors: (state) => state.users[SIGN_UP.errors], - termsofservice: 'instance.tos', + termsofservice: (state) => state.instance.tos }) }, methods: { |
