diff --git a/CHANGELOG.md b/CHANGELOG.md index e3d86fb8f7..0d94e9df14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,11 +15,14 @@ Changelog - Improved network screen with responsive main copy box ([PR 1797](https://github.com/input-output-hk/daedalus/pull/1797)) ### Fixes + +- Fixed a routing issue connected to deleting Yoroi Balance/Rewards wallets restored from the same recovery phrase ([PR 1823](https://github.com/input-output-hk/daedalus/pull/1823)) - Fixed a typo in the Staking Pools section ([PR 1785](https://github.com/input-output-hk/daedalus/pull/1785)) - Fixed Daedalus ITN Terms of Service typo ([PR 1809](https://github.com/input-output-hk/daedalus/pull/1809)) - Fixed handling of duplicated wallet IDs when restoring both legacy and new wallets from the same wallet recovery phrase ([PR 1805](https://github.com/input-output-hk/daedalus/pull/1805)) ### Chores + - Updated `cardano-wallet` to revision `254575e4` which includes Jormungandr 0.8.6 ([PR 1821](https://github.com/input-output-hk/daedalus/pull/1821)) - Improved delete wallet text copy ([PR 1819](https://github.com/input-output-hk/daedalus/pull/1819)) - Updated checkboxes, radio buttons and switchers sizes and borders ([PR 1793](https://github.com/input-output-hk/daedalus/pull/1793)) diff --git a/source/renderer/app/stores/WalletsStore.js b/source/renderer/app/stores/WalletsStore.js index 1bb46a7781..5249cd9581 100644 --- a/source/renderer/app/stores/WalletsStore.js +++ b/source/renderer/app/stores/WalletsStore.js @@ -501,13 +501,16 @@ export default class WalletsStore extends Store { if (this.hasAnyWallets) { const nextIndexInList = Math.max(indexOfWalletToDelete - 1, 0); const nextWalletInList = this.all[nextIndexInList]; - this.actions.dialogs.closeActiveDialog.trigger(); this.goToWalletRoute(nextWalletInList.id); } else { this.active = null; this.activeValue = null; + this.actions.router.goToRoute.trigger({ + route: ROUTES.WALLETS.ADD, + }); } }); + this.actions.dialogs.closeActiveDialog.trigger(); this._unsetWalletLocalData(params.walletId); this._resumePolling(); this.deleteWalletRequest.reset();