Skip to content

Commit

Permalink
hotfix, pump to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhson1085 committed Dec 22, 2018
1 parent 5b6d119 commit 7aaf61c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/candidates/Apply.vue
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ export default {
})
return false
}
const { data } = await axios.get('/api/candidates/' + this.coinbase)
if (Object.keys(data).length > 0) {
const { data } = await axios.get('/api/candidates/' + this.coinbase + '/isCandidate')
if (data) {
this.candidateError = true
} else {
this.candidateError = false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tomomaster",
"version": "1.0.12",
"version": "1.1.0",
"description": "TomoChain Governance DApp",
"main": "elect.js",
"scripts": {
Expand Down

0 comments on commit 7aaf61c

Please sign in to comment.