mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-22 01:46:52 +01:00
fix contributionIndex
This commit is contained in:
parent
f4991132c4
commit
f9840388d8
@ -46,7 +46,6 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
contributionIndex: null,
|
|
||||||
token: null,
|
token: null,
|
||||||
status: {
|
status: {
|
||||||
type: '',
|
type: '',
|
||||||
@ -67,6 +66,14 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
return `Please, specify your name and organization.`
|
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() {
|
async mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user