fix contributionIndex

This commit is contained in:
Danil Kovtonyuk 2020-02-29 23:57:47 +10:00
parent f4991132c4
commit f9840388d8

View File

@ -46,7 +46,6 @@ export default {
},
data() {
return {
contributionIndex: null,
token: null,
status: {
type: '',
@ -67,6 +66,14 @@ export default {
} else {
return `Please, specify your name and organization.`
}
},
contributionIndex: {
get() {
return this.$store.state.user.contributionIndex
},
set(value) {
this.$store.commit('user/SET_CONTRIBUTION_INDEX', value)
}
}
},
async mounted() {