diff --git a/pages/authorize-contribution.vue b/pages/authorize-contribution.vue index 5e3593d..4e4a5d6 100644 --- a/pages/authorize-contribution.vue +++ b/pages/authorize-contribution.vue @@ -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() {