Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pleroma-fe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
248
Issues
248
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pleroma
pleroma-fe
Commits
a8cb5e71
Commit
a8cb5e71
authored
Jun 27, 2020
by
Shpuld Shpludson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't block ui with stickers or tos
parent
5ab62c4c
Pipeline
#27765
passed with stages
in 9 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/boot/after_store.js
src/boot/after_store.js
+3
-2
No files found.
src/boot/after_store.js
View file @
a8cb5e71
...
...
@@ -340,17 +340,18 @@ const afterStoreSetup = async ({ store, i18n }) => {
}
// Now we can try getting the server settings and logging in
// Most of these are preloaded into the index.html so blocking is minimized
await
Promise
.
all
([
checkOAuthToken
({
store
}),
getTOS
({
store
}),
getInstancePanel
({
store
}),
getStickers
({
store
}),
getNodeInfo
({
store
}),
getInstanceConfig
({
store
})
])
// Start fetching things that don't need to block the UI
store
.
dispatch
(
'
fetchMutes
'
)
getTOS
({
store
})
getStickers
({
store
})
const
router
=
new
VueRouter
({
mode
:
'
history
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment