1
0
Fork 0
forked from srxl/akkoma-fe

Fix broken ToS link. Fix linter errors

This commit is contained in:
raeno 2018-12-05 13:47:42 +04:00
parent 0029313775
commit 2b903f790d

View file

@ -1,7 +1,7 @@
import { validationMixin } from 'vuelidate' import { validationMixin } from 'vuelidate'
import { required } from 'vuelidate/lib/validators' import { required } from 'vuelidate/lib/validators'
import { mapActions, mapState } from 'vuex' import { mapActions, mapState } from 'vuex'
import { SIGN_UP } from "../../mutation_types" import { SIGN_UP } from '../../mutation_types'
const registration = { const registration = {
mixins: [validationMixin], mixins: [validationMixin],
@ -36,7 +36,7 @@ const registration = {
...mapState({ ...mapState({
isPending: (state) => state.users[SIGN_UP.isPending], isPending: (state) => state.users[SIGN_UP.isPending],
serverValidationErrors: (state) => state.users[SIGN_UP.errors], serverValidationErrors: (state) => state.users[SIGN_UP.errors],
termsofservice: 'instance.tos', termsofservice: (state) => state.instance.tos
}) })
}, },
methods: { methods: {