fix: event service in Firefox

This commit is contained in:
Danil Kovtonyuk 2022-04-26 17:25:33 +10:00
parent 4c407e86af
commit 249518073d

View File

@ -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) {