Skip to content

Commit

Permalink
fixed total calculation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 committed Apr 27, 2018
1 parent 1b8f4bc commit 61b9792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/WalletInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default {
},
total() {
const assetVals = this.$store.getters.assetVals;
let total = 0;
let total = parseFloat(this.nativeBalance);
assetVals.forEach((v) => {
total += parseFloat(v.assetVal);
});
Expand Down

0 comments on commit 61b9792

Please sign in to comment.