Skip to content

Commit

Permalink
fix error when come from stake history
Browse files Browse the repository at this point in the history
  • Loading branch information
MickWang committed Dec 21, 2018
1 parent 3812be8 commit 69eab89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/Node/NodeAuthorize/StakeHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ export default {
// this.$store.commit('UPDATE_STAKE_AUTHORIZATION_WALLET', {stakeWallet: this.stakeWallet})
// this.$router.push({name: 'AuthorizeLogin'})
this.$store.commit('UPDATE_CURRENT_NODE', {current_node : record})
this.$store.commit('UPDATE_STAKE_AUTHORIZATION_WALLET', {stakeWallet: this.stakeWallet})
this.$store.commit('UPDATE_STAKE_WALLET', {stakeWallet: this.stakeWallet})
this.$store.commit('UPDATE_STAKE_AUTHORIZATION_WALLET', {stakeWallet: record.stakeWallet})
this.$router.push({name: 'AuthorizationMgmt'})
},
changePayerWallet(e) {
Expand All @@ -200,6 +199,7 @@ export default {
} else {
this.stakeWallet = this.ledgerWallet
}
this.$store.commit('UPDATE_STAKE_WALLET', {stakeWallet: this.stakeWallet})
this.$store.dispatch('searchStakeHistory', {address: this.stakeWallet.address})
}
}
Expand Down

0 comments on commit 69eab89

Please sign in to comment.