mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 23:06:04 +01:00
added a spinner for the pre-bootstrap phase
This commit is contained in:
@@ -55,7 +55,7 @@ async function start () {
|
||||
})
|
||||
|
||||
const config = connector.loadConfig()
|
||||
tabby.bootstrap({
|
||||
await tabby.bootstrap({
|
||||
packageModules: pluginModules,
|
||||
bootstrapData: {
|
||||
config,
|
||||
@@ -69,4 +69,8 @@ async function start () {
|
||||
connector,
|
||||
})
|
||||
}
|
||||
start()
|
||||
|
||||
const spinner = document.body.querySelector('.pre-bootstrap-spinner')
|
||||
start().finally(() => {
|
||||
spinner?.remove()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user