diff --git a/src/boot/after_store.js b/src/boot/after_store.js index d45584c0..53cf0236 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -399,6 +399,14 @@ const afterStoreSetup = async ({ store, i18n }) => { ]) // Start fetching things that don't need to block the UI + const currentUser = store.state.users.currentUser + if (currentUser) { + store.dispatch('fetchMutes') + store.dispatch('startFetchingAnnouncements') + if (currentUser.role === 'admin' || currentUser.role === 'moderator') { + store.dispatch('startFetchingReports') + } + } getTOS({ store }) getStickers({ store })