From 21575f86bf564a7cf1e1ebddba226db3fca54b72 Mon Sep 17 00:00:00 2001 From: sproxet Date: Tue, 8 Oct 2019 22:14:44 +0700 Subject: [PATCH] Fix a bug where outgoing transactions made during reindex didn't show up in the list. --- src/store/modules/Transactions.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/store/modules/Transactions.ts b/src/store/modules/Transactions.ts index 7893ff08..226e53f2 100644 --- a/src/store/modules/Transactions.ts +++ b/src/store/modules/Transactions.ts @@ -140,14 +140,12 @@ const actions = { handleTransactionEvent({commit, rootGetters}, transactionEvent: TransactionEvent) { logger.info('handleTransactionEvent'); - const isReindexing = rootGetters['ApiStatus/isReindexing']; - commit('setWalletState', {isReindexing, initialStateWallet: {addresses: transactionEvent}}); + commit('setWalletState', {isReindexing: false, initialStateWallet: {addresses: transactionEvent}}); }, handleAddressEvent({commit, rootGetters}, addressEvent: AddressEvent) { logger.info('handleAddressEvent'); - const isReindexing = rootGetters['ApiStatus/isReindexing']; - commit('setWalletState', {isReindexing, initialStateWallet: addressEvent}) + commit('setWalletState', {isReindexing: false, initialStateWallet: addressEvent}) } };