forked from tornadocash/classic-ui
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)
|
return formattingEvents(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ export const mutations = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const actions = {
|
export const actions = {
|
||||||
async getInstances({ rootGetters }, { txs }) {
|
async getInstances({ rootGetters, dispatch }, { txs }) {
|
||||||
const eventsInterface = rootGetters['application/eventsInterface']
|
const eventsInterface = rootGetters['application/eventsInterface']
|
||||||
|
|
||||||
const instances = txs.reduce((acc, curr) => {
|
const instances = txs.reduce((acc, curr) => {
|
||||||
@ -144,6 +144,8 @@ export const actions = {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
dispatch('loading/disable', {}, { root: true })
|
||||||
|
|
||||||
return instances
|
return instances
|
||||||
},
|
},
|
||||||
async checkPendingEncryptedTransaction({ dispatch, getters }) {
|
async checkPendingEncryptedTransaction({ dispatch, getters }) {
|
||||||
@ -224,6 +226,8 @@ export const actions = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dispatch('loading/disable', {}, { root: true })
|
||||||
},
|
},
|
||||||
checkPendingTransaction({ getters, dispatch }) {
|
checkPendingTransaction({ getters, dispatch }) {
|
||||||
const transactions = getters.txs
|
const transactions = getters.txs
|
||||||
@ -375,6 +379,8 @@ export const actions = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dispatch('loading/disable', {}, { root: true })
|
||||||
},
|
},
|
||||||
async updateDeposit(
|
async updateDeposit(
|
||||||
{ getters, commit, dispatch, rootGetters },
|
{ getters, commit, dispatch, rootGetters },
|
||||||
|
Loading…
Reference in New Issue
Block a user