Fix endless withdrawals events loading when notes saved locally or in encrypted account
This commit is contained in:
parent
56c88f9fa8
commit
491bcec983
@ -72,6 +72,8 @@ export async function _encryptFormatTx({ dispatch, getters, rootGetters }, { eve
|
||||
}
|
||||
}
|
||||
|
||||
dispatch('loading/disable', {}, { root: true })
|
||||
|
||||
return formattingEvents(result)
|
||||
}
|
||||
|
||||
|
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user