forked from tornadocash/classic-ui
fix: event service in Firefox
This commit is contained in:
parent
4c407e86af
commit
249518073d
@ -139,11 +139,6 @@ class EventService {
|
||||
try {
|
||||
const { storeName, instanceName } = this.getStoreNames(type)
|
||||
|
||||
if (this.idb.isBlocked) {
|
||||
await sleep(500)
|
||||
return this.getEventsFromDB(type)
|
||||
}
|
||||
|
||||
const savedEvents = await this.idb.getAll({ storeName })
|
||||
|
||||
if (!savedEvents || !savedEvents.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user