mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
refactor: rudiment
This commit is contained in:
parent
72b87db11f
commit
9896506583
@ -461,7 +461,7 @@ const actions = {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
((isEmptyArray(cachedEvents) || !cachedEvents) && networksWithCache[Number(netId)]) ||
|
((isEmptyArray(cachedEvents) || !cachedEvents) && networksWithCache[Number(netId)]) ||
|
||||||
(cachedEvents.length < LENGTH_CACHE && networksWithCache[Number(netId)])
|
cachedEvents.length < LENGTH_CACHE
|
||||||
) {
|
) {
|
||||||
;({ events: cachedEvents } = await dispatch('loadEncryptedEvents', { netId }))
|
;({ events: cachedEvents } = await dispatch('loadEncryptedEvents', { netId }))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user