Skip to content

Commit

Permalink
fix node bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sulingxiao committed Sep 8, 2021
1 parent 2cb53d4 commit f7f539d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Node/NodeManagement/MyNode.vue
Expand Up @@ -123,6 +123,7 @@ export default {
this.$store.commit('UPDATE_STAKE_WALLET', {stakeWallet: node.stakeWallet})
this.$store.commit('UPDATE_NODE_PUBLICKEY', {nodePublicKey: node.publicKey})
this.$store.commit('UPDATE_NODE_STATUS', {status: node.status})
this.$store.commit('UPDATE_MENU_TAB_INDEX', 1)
this.$router.push({name: 'NodeStakeManagement'})
}
}
Expand Down
Expand Up @@ -154,7 +154,7 @@
<div class="content-row">
<div class="content-column">
<span>{{$t('nodeMgmt.yourStakeAmount')}}</span>
<span>{{current_peer.initPosStr}} ONT</span>
<span>{{initPosStr}} ONT</span>
</div>
<div class="content-column">
<span>{{$t('nodeMgmt.stakeLimit')}}</span>
Expand Down Expand Up @@ -305,6 +305,9 @@ export default {
const initPos = this.$store.state.NodeAuthorization.current_peer.initPos;
return numeral(this.posLimit * initPos).format('0,0');
}
},
initPosStr (){
return this.current_peer.initPosStr
}
},
methods:{
Expand Down

0 comments on commit f7f539d

Please sign in to comment.