Fix broken ToS link. Fix linter errors
This commit is contained in:
parent
0029313775
commit
2b903f790d
1 changed files with 2 additions and 2 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue