fix: undefined allDb in firefox (#3417)
This commit is contained in:
@@ -78,6 +78,7 @@ export async function tryMigrate(
|
||||
}
|
||||
// run the migration
|
||||
await Promise.all(
|
||||
allDb &&
|
||||
allDb.map(meta => {
|
||||
if (meta.name && meta.version === 1) {
|
||||
const name = meta.name;
|
||||
|
||||
Reference in New Issue
Block a user