Save drafts permanently in local storage

This commit is contained in:
tusooa 2023-03-10 21:37:03 -05:00
commit b6f1178ea3
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
7 changed files with 54 additions and 9 deletions

View file

@ -362,6 +362,8 @@ const afterStoreSetup = async ({ store, i18n }) => {
getInstanceConfig({ store })
])
await store.dispatch('loadDrafts')
// Start fetching things that don't need to block the UI
store.dispatch('fetchMutes')
store.dispatch('startFetchingAnnouncements')