fix boot?
This commit is contained in:
parent
8c053d9fad
commit
a028f1c48a
1 changed files with 10 additions and 6 deletions
|
|
@ -566,12 +566,16 @@ const afterStoreSetup = async ({ pinia, store, storageError, i18n }) => {
|
||||||
|
|
||||||
// Now we can try getting the server settings and logging in
|
// Now we can try getting the server settings and logging in
|
||||||
// Most of these are preloaded into the index.html so blocking is minimized
|
// Most of these are preloaded into the index.html so blocking is minimized
|
||||||
await Promise.all([
|
try {
|
||||||
checkOAuthToken({ store }),
|
await Promise.all([
|
||||||
getInstancePanel({ store }),
|
checkOAuthToken({ store }),
|
||||||
getNodeInfo({ store }),
|
getInstancePanel({ store }),
|
||||||
getInstanceConfig({ store }),
|
getNodeInfo({ store }),
|
||||||
])
|
getInstanceConfig({ store }),
|
||||||
|
])
|
||||||
|
} catch (e) {
|
||||||
|
console.error('Error loading instance data:', e)
|
||||||
|
}
|
||||||
|
|
||||||
getTOS({ store })
|
getTOS({ store })
|
||||||
getStickers({ store })
|
getStickers({ store })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue