diff --git a/modules/account/store/actions/decryptNotes/encryptFormatTx.js b/modules/account/store/actions/decryptNotes/encryptFormatTx.js index 4fb2a4e..9d8ea76 100644 --- a/modules/account/store/actions/decryptNotes/encryptFormatTx.js +++ b/modules/account/store/actions/decryptNotes/encryptFormatTx.js @@ -72,6 +72,8 @@ export async function _encryptFormatTx({ dispatch, getters, rootGetters }, { eve } } + dispatch('loading/disable', {}, { root: true }) + return formattingEvents(result) } diff --git a/store/txHashKeeper.js b/store/txHashKeeper.js index dcecddc..ad96c45 100644 --- a/store/txHashKeeper.js +++ b/store/txHashKeeper.js @@ -123,7 +123,7 @@ export const mutations = { } export const actions = { - async getInstances({ rootGetters }, { txs }) { + async getInstances({ rootGetters, dispatch }, { txs }) { const eventsInterface = rootGetters['application/eventsInterface'] const instances = txs.reduce((acc, curr) => { @@ -144,6 +144,8 @@ export const actions = { ) ) + dispatch('loading/disable', {}, { root: true }) + return instances }, async checkPendingEncryptedTransaction({ dispatch, getters }) { @@ -224,6 +226,8 @@ export const actions = { } } } + + dispatch('loading/disable', {}, { root: true }) }, checkPendingTransaction({ getters, dispatch }) { const transactions = getters.txs @@ -375,6 +379,8 @@ export const actions = { } } } + + dispatch('loading/disable', {}, { root: true }) }, async updateDeposit( { getters, commit, dispatch, rootGetters },