diff --git a/src/actions/SelectedAccountActions.js b/src/actions/SelectedAccountActions.js index 53e8b62f..801451fd 100644 --- a/src/actions/SelectedAccountActions.js +++ b/src/actions/SelectedAccountActions.js @@ -1,10 +1,12 @@ /* @flow */ import { LOCATION_CHANGE } from 'react-router-redux'; +import { BLOCKCHAIN } from 'trezor-connect'; import * as WALLET from 'actions/constants/wallet'; import * as ACCOUNT from 'actions/constants/account'; import * as DISCOVERY from 'actions/constants/discovery'; import * as TOKEN from 'actions/constants/token'; import * as PENDING from 'actions/constants/pendingTx'; +import * as SEND from 'actions/constants/send'; import * as reducerUtils from 'reducers/utils'; @@ -150,6 +152,8 @@ const getAccountStatus = (state: State, selectedAccount: SelectedAccountState): // other actions will be ignored const actions = [ LOCATION_CHANGE, + ...Object.values(BLOCKCHAIN).filter(v => typeof v === 'string'), + SEND.TX_COMPLETE, WALLET.SET_SELECTED_DEVICE, WALLET.UPDATE_SELECTED_DEVICE, ...Object.values(ACCOUNT).filter(v => typeof v === 'string' && v !== ACCOUNT.UPDATE_SELECTED_ACCOUNT), // exported values got unwanted "__esModule: true" as first element