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