fix(app): avoid bootstrap error popups during global sync init (#22426)
This commit is contained in:
@@ -122,20 +122,21 @@ export async function bootstrapGlobal(input: {
|
|||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
await runAll(fast)
|
||||||
showErrors({
|
// showErrors({
|
||||||
errors: errors(await runAll(fast)),
|
// errors: errors(await runAll(fast)),
|
||||||
title: input.requestFailedTitle,
|
// title: input.requestFailedTitle,
|
||||||
translate: input.translate,
|
// translate: input.translate,
|
||||||
formatMoreCount: input.formatMoreCount,
|
// formatMoreCount: input.formatMoreCount,
|
||||||
})
|
// })
|
||||||
await waitForPaint()
|
await waitForPaint()
|
||||||
showErrors({
|
await runAll(slow)
|
||||||
errors: errors(await runAll(slow)),
|
// showErrors({
|
||||||
title: input.requestFailedTitle,
|
// errors: errors(),
|
||||||
translate: input.translate,
|
// title: input.requestFailedTitle,
|
||||||
formatMoreCount: input.formatMoreCount,
|
// translate: input.translate,
|
||||||
})
|
// formatMoreCount: input.formatMoreCount,
|
||||||
|
// })
|
||||||
input.setGlobalStore("ready", true)
|
input.setGlobalStore("ready", true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user