diff --git a/CHANGELOG.md b/CHANGELOG.md index ec9950ba1f..e841eb8934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.0.0-beta.60] - 2019-05-05 + +### Fixed + +- [#2539](https://github.com/cosmos/lunie/pull/2539) Delegations did not show on my delegations page @faboweb + ## [1.0.0-beta.59] - 2019-05-03 ### Added diff --git a/package.json b/package.json index 0392fb47f0..9a0b58f389 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lunie", "productName": "lunie", - "version": "1.0.0-beta.59", + "version": "1.0.0-beta.60", "description": "Lunie is the user interface for the Cosmos Hub.", "author": "Lunie International Software Systems Inc. ", "license": "Apache-2.0", diff --git a/src/components/staking/TableValidators.vue b/src/components/staking/TableValidators.vue index d8ecf263dc..ee5b23d6f5 100644 --- a/src/components/staking/TableValidators.vue +++ b/src/components/staking/TableValidators.vue @@ -70,8 +70,8 @@ export default { return Object.assign({}, v, { small_moniker: v.description.moniker.toLowerCase(), my_delegations: - session.signedIn && committedDelegations[v.id] > 0 - ? committedDelegations[v.id] + session.signedIn && committedDelegations[v.operator_address] > 0 + ? committedDelegations[v.operator_address] : 0, commission: v.commission.rate, voting_power: BN(v.tokens) diff --git a/src/vuex/modules/session.js b/src/vuex/modules/session.js index e6f232c970..dcf7bf05c0 100644 --- a/src/vuex/modules/session.js +++ b/src/vuex/modules/session.js @@ -220,7 +220,7 @@ export default () => { state.errorCollection = enabled dispatch(`storeLocalPreferences`) - if (state.errorCollection) { + if (state.errorCollection && !state.externals.config.development) { state.externals.Sentry.init({ dsn: state.externals.config.sentry_dsn, release: state.externals.config.version